Skip to content

Commit

Permalink
add etna system
Browse files Browse the repository at this point in the history
  • Loading branch information
uku3lig committed Jan 18, 2024
1 parent 6a456fc commit 2c0cd86
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 1 deletion.
14 changes: 14 additions & 0 deletions secrets/etna/rootPassword.age
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
-----BEGIN AGE ENCRYPTED FILE-----
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBXM1ZINU1XQWpZNmgwWlVS
SElLcmdnMkRLeHdrakhNYnV4RVRtWFJxZ0FRCjVEK2V4a0NabU92M1I1OW53OWcx
TVhBaFNCRC85Q2M1SHU1aGsyNGpQUTAKLT4gWDI1NTE5IFJQTnhGTmtCUmI1b2c3
ZStYUE4wMmdiM0RxZGdXbndKdFhQeFg5NnN0bGsKTG51THd6dnkwOWdyc0VZVjJx
dUxSdjRra0ViWjU3V1NEaHZEUE5KTmJaRQotPiBYMjU1MTkgbkZRbzlxYTlDYks5
L1RiMWFkSFppT0gxVkZ5M1FOb2xCUThseEUvNmhnWQpqcXBpb2VMSWxveVNCM1ZU
NHVodktXRnJ5bThHSHpZbG1EVnI1bzlLTTRRCi0+IDU0TCh6dy1ncmVhc2UKN1lP
NWJTbGg5NFNoUlc1cFZ4aG93ME1BYW5kZVBkR2ZUZzdtWWMrRE5TSUxCNFErSnZo
OC93N3ROK01qCi0tLSBVamc0NUtSVE1VSnJVLzlLdGVkend2dzF1K2YwbHBRTzZ6
SjNIcGpmcFlvCoAAST+ISOC6zGaDsE5ErwavjCMUUL6MSBTs6E4kwwjPi5xGx4cd
d06c0Jb8Hzzl4TYvfJZKuW6j4KnmXTB7cHhZo1t4IhdlRQaaexDeNbFoxnB+pbKb
+jajioojpN9kKQY=
-----END AGE ENCRYPTED FILE-----
4 changes: 3 additions & 1 deletion secrets/secrets.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
let
fuji = "age16ujdfcahmnhe4ygruf28n0urgxycv8zgsp4f8856a5suewhn49cs0mqk7w";
kilimandjaro = "age1ny0re542mcvf829y28rz6eta9myaqlxasfnn933srw64dlgavpsqc59q79";
etna = "age1n5was53x7mn3n7pugt3ge8tg5uglq3hzdt7270a04yw3szrqtuuqy0j6tw";

main = [fuji kilimandjaro];
all = main;
all = main ++ [etna];
in {
"userPassword.age".publicKeys = all;
"tailscaleKey.age".publicKeys = all;

"fuji/rootPassword.age".publicKeys = main;
"kilimandjaro/rootPassword.age".publicKeys = main;
"etna/rootPassword.age".publicKeys = main ++ [etna];
}
7 changes: 7 additions & 0 deletions systems/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
catppuccin.nixosModules.catppuccin
]
++ nixos;

server = nixos ++ [../modules/server.nix];
in {
flake.nixosConfigurations = mapNixOS {
fuji = {
Expand All @@ -46,5 +48,10 @@ in {
system = "x86_64-linux";
modules = desktop;
};

etna = {
system = "x86_64-linux";
modules = server;
};
};
}
3 changes: 3 additions & 0 deletions systems/etna/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
# empty for now :3
}

0 comments on commit 2c0cd86

Please sign in to comment.