Update hosts/server/configuration.nix
Check NixOS configurations / eval-hosts (push) Failing after 6m59s
Check NixOS configurations / eval-hosts (push) Failing after 6m59s
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
# Pick only one of the below networking options.
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
boot.supportedFilesystems = [ "zfs" ];
|
||||
boot.zfs.enabled = true;
|
||||
#boot.zfs.enabled = true;
|
||||
# Mount server data
|
||||
#fileSystems."/srv" = {
|
||||
# device = "/dev/disk/by-label/server-data";
|
||||
@@ -32,9 +32,9 @@
|
||||
#};
|
||||
|
||||
#Add sym links to data on users home folder
|
||||
system.userActivationScripts.createDockerSymlink.text = ''
|
||||
ln -sf /srv/scripts /home/nixos/scripts
|
||||
'';
|
||||
#system.userActivationScripts.createDockerSymlink.text = ''
|
||||
# ln -sf /srv/scripts /home/nixos/scripts
|
||||
#'';
|
||||
#system.userActivationScripts.createSetupSymlink.text = ''
|
||||
# ln -sf /mnt/docker-persistent-data/setup /home/nixos/setup
|
||||
#'';
|
||||
@@ -49,17 +49,17 @@ services.nfs.server = {
|
||||
|
||||
security.sudo = {
|
||||
enable = true;
|
||||
extraRules = [
|
||||
{
|
||||
users = [ "nixos" ];
|
||||
commands = [
|
||||
{
|
||||
command = "/run/current-system/sw/bin/rsync";
|
||||
options = [ "NOPASSWD" ];
|
||||
}
|
||||
];
|
||||
}
|
||||
];
|
||||
# extraRules = [
|
||||
# {
|
||||
# users = [ "nixos" ];
|
||||
# commands = [
|
||||
# {
|
||||
# command = "/run/current-system/sw/bin/rsync";
|
||||
# options = [ "NOPASSWD" ];
|
||||
# }
|
||||
# ];
|
||||
# }
|
||||
# ];
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user