From d372ccd324f80f5186e92d2225df52d5398d873a Mon Sep 17 00:00:00 2001 From: jaina heartles Date: Sun, 25 Feb 2024 12:32:00 -0800 Subject: [PATCH] initial commit --- configuration.nix | 15 +++++++++++++++ hardware-configuration.nix | 11 +++++++++++ 2 files changed, 26 insertions(+) create mode 100644 configuration.nix create mode 100644 hardware-configuration.nix diff --git a/configuration.nix b/configuration.nix new file mode 100644 index 0000000..e414056 --- /dev/null +++ b/configuration.nix @@ -0,0 +1,15 @@ +{ pkgs, ... }: { + imports = [ ./hardware-configuration.nix ]; + + environment.systemPackages = with pkgs; [ kitty.terminfo kakoune vim git ]; + + boot.cleanTmpDir = true; + zramSwap.enable = true; + networking.hostName = "egirls"; + networking.domain = "gay"; + services.openssh.enable = true; + users.users.root.openssh.authorizedKeys.keys = [ + "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG6udktq60NydvPg6nnZpwxvQ6scC1HkqTZIG+ORt/HN" + ]; + system.stateVersion = "23.11"; +} diff --git a/hardware-configuration.nix b/hardware-configuration.nix new file mode 100644 index 0000000..7902335 --- /dev/null +++ b/hardware-configuration.nix @@ -0,0 +1,11 @@ +{ modulesPath, ... }: { + imports = [ (modulesPath + "/profiles/qemu-guest.nix") ]; + boot.loader.grub.device = "/dev/sda"; + boot.initrd.availableKernelModules = + [ "ata_piix" "uhci_hcd" "xen_blkfront" "vmw_pvscsi" ]; + boot.initrd.kernelModules = [ "nvme" ]; + fileSystems."/" = { + device = "/dev/sda1"; + fsType = "ext4"; + }; +}