summaryrefslogtreecommitdiff
path: root/machines/picast/hardware-configuration.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2025-05-18 05:54:58 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2025-05-18 05:54:58 -0600
commit7d7f5905769c488d2129b2ec0ade6451f0765d84 (patch)
tree6fada6c454007e1d2072c452391fbbdc23e36a5f /machines/picast/hardware-configuration.nix
parentbdab6795e4d3d881aef2b0ead2e2cdf323b76ef9 (diff)
finally got nixos-generators to work
Diffstat (limited to 'machines/picast/hardware-configuration.nix')
-rw-r--r--machines/picast/hardware-configuration.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/machines/picast/hardware-configuration.nix b/machines/picast/hardware-configuration.nix
index 3f13493..78601ad 100644
--- a/machines/picast/hardware-configuration.nix
+++ b/machines/picast/hardware-configuration.nix
@@ -1,3 +1,5 @@
+# hardware-configuration.nix
+
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
@@ -8,14 +10,15 @@
[ (modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = [ ];
+ boot.initrd.availableKernelModules = [ "xhci_pci" "usbhid" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ ];
boot.extraModulePackages = [ ];
fileSystems."/" =
- { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888";
+ { device = "/dev/disk/by-label/NIXOS_SD"; # this is important!
fsType = "ext4";
+ options = [ "noatime" ];
};
swapDevices = [ ];
@@ -25,7 +28,7 @@
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
- # networking.interfaces.enu1u1.useDHCP = lib.mkDefault true;
+ # networking.interfaces.end0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";