1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-09-13 09:37:57 +00:00

hosts.cape: init

This commit is contained in:
RGBCube 2025-07-31 14:46:12 +03:00
parent c9fba65644
commit e91a480949
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
6 changed files with 37 additions and 2 deletions

28
hosts/cape/default.nix Normal file
View file

@ -0,0 +1,28 @@
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;
})

3
hosts/cape/hardware.nix Normal file
View file

@ -0,0 +1,3 @@
{
nixpkgs.hostPlatform = "aarch64-darwin";
}

BIN
hosts/cape/id.age Normal file

Binary file not shown.