summaryrefslogtreecommitdiff
path: root/machines/khad
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-09-04 22:27:22 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2023-09-04 22:27:22 -0600
commita933e77443bfa3d918b6e04339464d4ae41f86b2 (patch)
tree071fb42eebdf547e7343a9a8cf41b490b33e4601 /machines/khad
parent42c3986ed796e6825e8cd8a864da004c50eed6f3 (diff)
moved an env config to configs
enabled users for nix generated new hardware config to hopefully prevent emergency mode
Diffstat (limited to 'machines/khad')
-rw-r--r--machines/khad/configuration.nix8
-rw-r--r--machines/khad/hardware-configuration.nix8
2 files changed, 9 insertions, 7 deletions
diff --git a/machines/khad/configuration.nix b/machines/khad/configuration.nix
index 6f7e415..abc703b 100644
--- a/machines/khad/configuration.nix
+++ b/machines/khad/configuration.nix
@@ -32,6 +32,8 @@
config.allowUnfree = true;
};
+ environment.shellInit = ''export NIXPATH="/nix/var/nix/profiles/per-user/$USER/channels:nixos-config=/etc/nixos/machines/khad/configuration.nix"'';
+
# Set your time zone.
time.timeZone = "US/Mountain";
@@ -48,12 +50,12 @@
# };
# Enable the X11 windowing system.
- # services.xserver.enable = true;
+ services.xserver.enable = true;
# Enable the Plasma 5 Desktop Environment.
- # services.xserver.displayManager.sddm.enable = true;
- # services.xserver.desktopManager.plasma5.enable = true;
+ services.xserver.displayManager.sddm.enable = true;
+ services.xserver.desktopManager.plasma5.enable = true;
# Configure keymap in X11
diff --git a/machines/khad/hardware-configuration.nix b/machines/khad/hardware-configuration.nix
index d1e49e9..dc32bab 100644
--- a/machines/khad/hardware-configuration.nix
+++ b/machines/khad/hardware-configuration.nix
@@ -8,7 +8,7 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
+ boot.initrd.availableKernelModules = [ "xhci_pci" "ehci_pci" "ahci" "usbhid" "sd_mod" "sr_mod" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
@@ -19,7 +19,7 @@
};
fileSystems."/boot" =
- { device = "/dev/disk/by-uuid/0873-40C7";
+ { device = "/dev/disk/by-uuid/B741-9318";
fsType = "vfat";
};
@@ -28,13 +28,13 @@
fsType = "ext4";
};
- fileSystems."/home/devinf/Drives" =
+ fileSystems."/home/defin/Drives" =
{ device = "/dev/disk/by-uuid/ba4e233d-d31a-4e5a-9054-0241bd58ba8e";
fsType = "ext4";
};
swapDevices =
- [ { device = "/dev/disk/by-uuid/74384a53-3895-4c6b-ba89-ff7ff82323a4"; }
+ [ { device = "/dev/disk/by-uuid/e75daaf1-d6c6-43c3-8a61-ff26b4304f71"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking