1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-09-13 01:27:56 +00:00
ncc/hosts/pala/default.nix
2025-07-31 16:11:59 +03:00

32 lines
726 B
Nix

lib: lib.darwinSystem' ({ config, lib, ... }: let
inherit (lib) collectNix remove;
in {
imports = collectNix ./.
|> remove ./default.nix;
type = "desktop";
secrets.id.file = ./id.age;
secrets.id-cull.file = ./id-cull.age;
secrets.id-no.file = ./id-no.age;
services.openssh.extraConfig = /* sshclientconfig */ ''
HostKey ${config.secrets.id.path}
HostKey ${config.secrets.id-cull.path}
HostKey ${config.secrets.id-no.path}
'';
networking.hostName = "pala";
users.users.pala = {
name = "pala";
home = "/Users/pala";
};
home-manager.users.pala.home = {
stateVersion = "25.05";
homeDirectory = config.users.users.pala.home;
};
system.stateVersion = 5;
})