diff options
Diffstat (limited to 'hosts/cirrus')
| -rw-r--r-- | hosts/cirrus/configuration.nix | 18 |
1 files changed, 16 insertions, 2 deletions
diff --git a/hosts/cirrus/configuration.nix b/hosts/cirrus/configuration.nix index 0f4182e..0054a64 100644 --- a/hosts/cirrus/configuration.nix +++ b/hosts/cirrus/configuration.nix @@ -16,8 +16,22 @@ boot.loader.grub.efiSupport = true; boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only -zramSwap = { enable = true; algorithm = "zstd"; }; - networking.hostName = "cirrus"; # Define your hostname. + zramSwap = { enable = true; algorithm = "zstd"; }; + + networking = { + hostName = "cirrus"; # Define your hostname. + }; + + systemd.network = { + enable = true; + networks."uplink" = { + matchConfig = { Name = "enp1s0"; }; + networkConfig = { + DHCP="yes"; + }; + }; + }; + # Set your time zone. time.timeZone = "Europe/Amsterdam"; |
