fix eval for nas
This commit is contained in:
parent
5cbb51a68a
commit
102234539e
2 changed files with 12 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
{ config, pkgs, modulesPath, lib, nixos-hardware, ... }: {
|
||||
{ config, pkgs, modulesPath, lib, nixos-hardware, ... } @ args: {
|
||||
networking.hostName = "nas";
|
||||
networking.hostId = "70af00ed";
|
||||
|
||||
|
@ -8,6 +8,7 @@
|
|||
./services/tpm2.nix
|
||||
./server.nix
|
||||
./services/hydra.nix
|
||||
./services/backup.nix
|
||||
nixos-hardware.nixosModules.common-cpu-amd
|
||||
nixos-hardware.nixosModules.common-gpu-nvidia
|
||||
nixos-hardware.nixosModules.common-pc-hdd
|
||||
|
|
10
config/services/backup.nix
Normal file
10
config/services/backup.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ ... }: {
|
||||
users.users.backup = {
|
||||
description = "Backup user";
|
||||
home = "/backup";
|
||||
isSystemUser = true;
|
||||
openssh.authorizedKeys.keys = [
|
||||
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue