mirror of
https://github.com/RGBCube/ncc
synced 2025-09-13 09:37:57 +00:00
hosts.cape: init
This commit is contained in:
parent
c9fba65644
commit
e91a480949
6 changed files with 37 additions and 2 deletions
28
hosts/cape/default.nix
Normal file
28
hosts/cape/default.nix
Normal 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
3
hosts/cape/hardware.nix
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
nixpkgs.hostPlatform = "aarch64-darwin";
|
||||
}
|
BIN
hosts/cape/id.age
Normal file
BIN
hosts/cape/id.age
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue