mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 01:27:56 +00:00
28 lines
559 B
Nix
28 lines
559 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;
|
|
|
|
services.openssh.extraConfig = /* sshclientconfig */ ''
|
|
HostKey ${config.secrets.id.path}
|
|
'';
|
|
|
|
networking.hostName = "cape";
|
|
|
|
users.users.said = {
|
|
name = "said";
|
|
home = "/Users/said";
|
|
};
|
|
|
|
home-manager.users.said.home = {
|
|
stateVersion = "25.05";
|
|
homeDirectory = config.users.users.said.home;
|
|
};
|
|
|
|
system.stateVersion = 6;
|
|
})
|