diff options
| author | Mel <mel@rnrd.eu> | 2025-08-18 16:26:23 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2025-08-18 16:26:23 +0200 |
| commit | 8e7dc83064145a33955af87c355efe59f316638c (patch) | |
| tree | 1164d3ad4846af8972d40ac535e15c459c570392 /machines/renard/hardware.nix | |
| parent | a76a5e9fad265f281c55b5e4a80ae97d9f234cc7 (diff) | |
| download | network-8e7dc83064145a33955af87c355efe59f316638c.tar.zst network-8e7dc83064145a33955af87c355efe59f316638c.zip | |
Renew renard hardware, replace swap partition with zram
Signed-off-by: Mel <mel@rnrd.eu>
Diffstat (limited to 'machines/renard/hardware.nix')
| -rw-r--r-- | machines/renard/hardware.nix | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/machines/renard/hardware.nix b/machines/renard/hardware.nix index 09baf3b..2b4173e 100644 --- a/machines/renard/hardware.nix +++ b/machines/renard/hardware.nix @@ -18,16 +18,14 @@ fsType = "ext4"; }; - swapDevices = - [ { device = "/dev/disk/by-uuid/cef8b552-2fd2-46ef-b033-693e5b1da438"; } - ]; + 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.eth0.useDHCP = lib.mkDefault true; + # networking.interfaces.ens18.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; } |
