summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-09-08 22:38:41 -0700
committerFuwn <[email protected]>2024-09-08 22:38:41 -0700
commit11a58b4061ef2e68a710c3aded21e62684eeb711 (patch)
tree585768f867b22ccac1b172b74069102d7bd134b7 /hosts
parentBump: btrfs (diff)
downloadnixos-config-11a58b4061ef2e68a710c3aded21e62684eeb711.tar.xz
nixos-config-11a58b4061ef2e68a710c3aded21e62684eeb711.zip
Bump
Diffstat (limited to 'hosts')
-rw-r--r--hosts/kansai/default.nix20
-rw-r--r--hosts/kansai/hardware-configuration.nix12
2 files changed, 4 insertions, 28 deletions
diff --git a/hosts/kansai/default.nix b/hosts/kansai/default.nix
index 9d4f736..311b9c3 100644
--- a/hosts/kansai/default.nix
+++ b/hosts/kansai/default.nix
@@ -4,22 +4,6 @@
../../modules
];
- # This option defines the first version of NixOS you have installed on this particular machine,
- # and is used to maintain compatibility with application data (e.g. databases) created on older NixOS versions.
- #
- # Most users should NEVER change this value after the initial install, for any reason,
- # even if you've upgraded your system to a new NixOS release.
- #
- # This value does NOT affect the Nixpkgs version your packages and OS are pulled from,
- # so changing it will NOT upgrade your system - see https://nixos.org/manual/nixos/stable/#sec-upgrading for how
- # to actually do that.
- #
- # This value being lower than the current NixOS release does NOT mean your system is
- # out of date, out of support, or vulnerable.
- #
- # Do NOT change this value unless you have manually inspected all the changes it would make to your configuration,
- # and migrated your data accordingly.
- #
- # For more information, see `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion .
- system.stateVersion = "24.05"; # Did you read the comment?
+ # See `man configuration.nix` or https://nixos.org/manual/nixos/stable/options#opt-system.stateVersion.
+ system.stateVersion = "24.05";
}
diff --git a/hosts/kansai/hardware-configuration.nix b/hosts/kansai/hardware-configuration.nix
index e6f8656..cea0949 100644
--- a/hosts/kansai/hardware-configuration.nix
+++ b/hosts/kansai/hardware-configuration.nix
@@ -28,6 +28,7 @@ in
"usbhid"
"sd_mod"
];
+
kernelModules = [ ];
};
@@ -72,16 +73,7 @@ in
};
swapDevices = [ ];
-
- networking = {
- useDHCP = lib.mkDefault true;
-
- interfaces = {
- # enp42s0.useDHCP = lib.mkDefault true;
- # wlp4s0.useDHCP = lib.mkDefault true;
- };
- };
-
+ networking.useDHCP = lib.mkDefault true;
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}