Update hosts/server/configuration.nix
Check NixOS configurations / eval-hosts (push) Failing after 6m59s

This commit is contained in:
2026-06-30 20:55:53 +00:00
parent da3f4b16c9
commit 04692c33f2
+15 -15
View File
@@ -17,7 +17,7 @@
# Pick only one of the below networking options. # Pick only one of the below networking options.
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. # networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];
boot.zfs.enabled = true; #boot.zfs.enabled = true;
# Mount server data # Mount server data
#fileSystems."/srv" = { #fileSystems."/srv" = {
# device = "/dev/disk/by-label/server-data"; # device = "/dev/disk/by-label/server-data";
@@ -32,9 +32,9 @@
#}; #};
#Add sym links to data on users home folder #Add sym links to data on users home folder
system.userActivationScripts.createDockerSymlink.text = '' #system.userActivationScripts.createDockerSymlink.text = ''
ln -sf /srv/scripts /home/nixos/scripts # ln -sf /srv/scripts /home/nixos/scripts
''; #'';
#system.userActivationScripts.createSetupSymlink.text = '' #system.userActivationScripts.createSetupSymlink.text = ''
# ln -sf /mnt/docker-persistent-data/setup /home/nixos/setup # ln -sf /mnt/docker-persistent-data/setup /home/nixos/setup
#''; #'';
@@ -49,17 +49,17 @@ services.nfs.server = {
security.sudo = { security.sudo = {
enable = true; enable = true;
extraRules = [ # extraRules = [
{ # {
users = [ "nixos" ]; # users = [ "nixos" ];
commands = [ # commands = [
{ # {
command = "/run/current-system/sw/bin/rsync"; # command = "/run/current-system/sw/bin/rsync";
options = [ "NOPASSWD" ]; # options = [ "NOPASSWD" ];
} # }
]; # ];
} # }
]; # ];
}; };