Formatted files

This commit is contained in:
2026-02-06 10:06:20 +01:00
parent 8ef2928bf6
commit dc27a74917
5 changed files with 44 additions and 35 deletions

View File

@@ -1,11 +1,14 @@
{ ... }: { ... }:
{ {
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
firewall = { firewall = {
allowedTCPPorts = [ 22 5900 ]; allowedTCPPorts = [
allowedUDPPorts = [ ]; 22
enable = true; 5900
}; ];
}; allowedUDPPorts = [ ];
enable = true;
};
};
} }

View File

@@ -1,11 +1,11 @@
{ ... }: { ... }:
{ {
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;
spiceUSBRedirection.enable = true; spiceUSBRedirection.enable = true;
libvirtd = { libvirtd = {
enable = true; enable = true;
package = pkgs.qemu_kvm; package = pkgs.qemu_kvm;
}; };
}; };
} }

View File

@@ -1,9 +1,9 @@
{ ... }: { ... }:
{ {
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;
libvirtd.enable = true; libvirtd.enable = true;
spiceUSBRedirection.enable = true; spiceUSBRedirection.enable = true;
}; };
} }

View File

@@ -1,9 +1,9 @@
{ ... }: { ... }:
{ {
programs.virt-manager.enable = true; programs.virt-manager.enable = true;
virtualisation = { virtualisation = {
docker.enable = true; docker.enable = true;
libvirtd.enable = true; libvirtd.enable = true;
spiceUSBRedirection.enable = true; spiceUSBRedirection.enable = true;
}; };
} }

View File

@@ -45,13 +45,19 @@
GOPATH = "$HOME/.go"; GOPATH = "$HOME/.go";
}; };
programs.fish.enable = true; # This must be true before initializing my user programs.fish.enable = true; # This must be true before initializing my user
users.users.${currentSystemUser} = { users.users.${currentSystemUser} = {
isNormalUser = true; isNormalUser = true;
description = "Patrick Canal"; description = "Patrick Canal";
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "nordvpn" ]; extraGroups = [
shell = pkgs.fish; "networkmanager"
}; "wheel"
"docker"
"libvirtd"
"nordvpn"
];
shell = pkgs.fish;
};
nix.settings.experimental-features = [ nix.settings.experimental-features = [
"nix-command" "nix-command"