refactor(hosts): rename jason to janet
This commit is contained in:
28
modules/hosts/janet.nix
Normal file
28
modules/hosts/janet.nix
Normal file
@@ -0,0 +1,28 @@
|
||||
{den, ...}: {
|
||||
den.hosts.aarch64-darwin.janet.users.cschmatzler.aspect = "janet-cschmatzler";
|
||||
|
||||
den.aspects.janet-cschmatzler = {
|
||||
includes = [
|
||||
den.aspects.user-darwin-laptop
|
||||
den.aspects.user-personal
|
||||
];
|
||||
};
|
||||
|
||||
den.aspects.janet.includes = [
|
||||
(den.lib.perHost {
|
||||
includes = [den.aspects.host-darwin-base];
|
||||
|
||||
darwin = {...}: {
|
||||
networking.hostName = "janet";
|
||||
networking.computerName = "janet";
|
||||
|
||||
sops.secrets.opencode-api-key = {
|
||||
sopsFile = ../../secrets/opencode-api-key;
|
||||
format = "binary";
|
||||
owner = "cschmatzler";
|
||||
path = "/run/secrets/opencode-api-key";
|
||||
};
|
||||
};
|
||||
})
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user