commit 254745ca4a0518bb068329f3ac7a1d31f4cc1310
parent 226e3612bad3279b23c6cb02bb3d4cd2f38f61e5
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 5 Jun 2020 18:03:43 +0200
systems/kerkouane: add hostname 😅
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/systems/kerkouane.nix b/systems/kerkouane.nix
@@ -16,8 +16,6 @@ in
{
imports = [
(sources.nixos + "/nixos/modules/profiles/qemu-guest.nix")
- #(pkgs + "/nixos/modules/profiles/qemu-guest.nix")
- #<nixpkgs/nixos/modules/profiles/qemu-guest.nix>
../modules
(import ../users).vincent
(import ../users).root
@@ -25,6 +23,8 @@ in
# digitalocean specifics
++ optionals hasNetworkingConfig [ networkingConfigPath ];
+ networking.hostName = hostname;
+
boot.loader.grub.device = "/dev/vda";
fileSystems."/" = { device = "/dev/vda1"; fsType = "ext4"; };
swapDevices = [{ device = "/swapfile"; size = 1024; }];