fix eval for nas

This commit is contained in:
Charlotte 🦝 Delenk 2022-04-24 13:11:41 +01:00
parent 5cbb51a68a
commit 102234539e
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
2 changed files with 12 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,10 @@
{ ... }: {
users.users.backup = {
description = "Backup user";
home = "/backup";
isSystemUser = true;
openssh.authorizedKeys.keys = [
];
};
}