diff --git a/machines/bomba/networking.nix b/machines/bomba/networking.nix index bbd3e49..60120e8 100644 --- a/machines/bomba/networking.nix +++ b/machines/bomba/networking.nix @@ -1,11 +1,14 @@ { ... }: { - networking = { - networkmanager.enable = true; - firewall = { - allowedTCPPorts = [ 22 5900 ]; - allowedUDPPorts = [ ]; - enable = true; - }; - }; + networking = { + networkmanager.enable = true; + firewall = { + allowedTCPPorts = [ + 22 + 5900 + ]; + allowedUDPPorts = [ ]; + enable = true; + }; + }; } diff --git a/machines/bomba/virtualisation.nix b/machines/bomba/virtualisation.nix index c7fae21..c402662 100644 --- a/machines/bomba/virtualisation.nix +++ b/machines/bomba/virtualisation.nix @@ -1,11 +1,11 @@ { ... }: { - virtualisation = { - docker.enable = true; - spiceUSBRedirection.enable = true; - libvirtd = { - enable = true; - package = pkgs.qemu_kvm; - }; - }; + virtualisation = { + docker.enable = true; + spiceUSBRedirection.enable = true; + libvirtd = { + enable = true; + package = pkgs.qemu_kvm; + }; + }; } diff --git a/machines/katana/virtualisation.nix b/machines/katana/virtualisation.nix index ade6532..55d7acb 100644 --- a/machines/katana/virtualisation.nix +++ b/machines/katana/virtualisation.nix @@ -1,9 +1,9 @@ { ... }: { - programs.virt-manager.enable = true; - virtualisation = { - docker.enable = true; - libvirtd.enable = true; - spiceUSBRedirection.enable = true; - }; + programs.virt-manager.enable = true; + virtualisation = { + docker.enable = true; + libvirtd.enable = true; + spiceUSBRedirection.enable = true; + }; } diff --git a/machines/workstation/virtualisation.nix b/machines/workstation/virtualisation.nix index ade6532..55d7acb 100644 --- a/machines/workstation/virtualisation.nix +++ b/machines/workstation/virtualisation.nix @@ -1,9 +1,9 @@ { ... }: { - programs.virt-manager.enable = true; - virtualisation = { - docker.enable = true; - libvirtd.enable = true; - spiceUSBRedirection.enable = true; - }; + programs.virt-manager.enable = true; + virtualisation = { + docker.enable = true; + libvirtd.enable = true; + spiceUSBRedirection.enable = true; + }; } diff --git a/modules/nix-config/default.nix b/modules/nix-config/default.nix index a1ec9c5..ddaf0ab 100644 --- a/modules/nix-config/default.nix +++ b/modules/nix-config/default.nix @@ -45,13 +45,19 @@ GOPATH = "$HOME/.go"; }; - programs.fish.enable = true; # This must be true before initializing my user - users.users.${currentSystemUser} = { - isNormalUser = true; - description = "Patrick Canal"; - extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "nordvpn" ]; - shell = pkgs.fish; - }; + programs.fish.enable = true; # This must be true before initializing my user + users.users.${currentSystemUser} = { + isNormalUser = true; + description = "Patrick Canal"; + extraGroups = [ + "networkmanager" + "wheel" + "docker" + "libvirtd" + "nordvpn" + ]; + shell = pkgs.fish; + }; nix.settings.experimental-features = [ "nix-command"