diff options
| author | Devin Finlinson <devin.finlinson@pm.me> | 2024-06-08 18:04:47 -0600 |
|---|---|---|
| committer | Devin Finlinson <devin.finlinson@pm.me> | 2024-06-08 18:04:47 -0600 |
| commit | 91de4c5cd0abe6966e8dcdd45b198f9ed614637c (patch) | |
| tree | e0c44d4fb4faec24722ed5c6680beb9443813348 /machines/picast/hardware-configuration.nix | |
| parent | 32e11413d2e703596b582060ef1c44e0f13f31ec (diff) | |
| parent | 3c63014adcb02d00a2a83e9df09001145e84c199 (diff) | |
Merge branch 'master' of ssh://bosco:/srv/git/.flake
Diffstat (limited to 'machines/picast/hardware-configuration.nix')
| -rw-r--r-- | machines/picast/hardware-configuration.nix | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/machines/picast/hardware-configuration.nix b/machines/picast/hardware-configuration.nix new file mode 100644 index 0000000..3f13493 --- /dev/null +++ b/machines/picast/hardware-configuration.nix @@ -0,0 +1,32 @@ +# 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. +{ config, lib, pkgs, modulesPath, ... }: + +{ + imports = + [ (modulesPath + "/installer/scan/not-detected.nix") + ]; + + boot.initrd.availableKernelModules = [ ]; + boot.initrd.kernelModules = [ ]; + boot.kernelModules = [ ]; + boot.extraModulePackages = [ ]; + + fileSystems."/" = + { device = "/dev/disk/by-uuid/44444444-4444-4444-8888-888888888888"; + fsType = "ext4"; + }; + + swapDevices = [ ]; + + # Enables DHCP on each ethernet and wireless interface. In case of scripted networking + # (the default) this is the recommended approach. When using systemd-networkd it's + # 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.wlan0.useDHCP = lib.mkDefault true; + + nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux"; +} |
