dotnix @main -
refs -
log -
-
https://git.jolheiser.com/dotnix.git
Signature
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEEgqEQpE3xoo1QwJO/uFOtpdp7v3oFAmYQFRgACgkQuFOtpdp7
v3plGw/8DOe103AuhatdXikKQqD9N8dTO6IU+17vx7G5Nn6IA0K4ZSp1t+8soy2Y
vkIRmuM2wplNHzaMyqNdHG4F6AQo+UlBcSPwo9OfLLwyzMf7CgnAyuUhE0Pl8o3o
h4enS+Hy0CHdOFq9DlcEyN49Yw7UGjQXThFogm85nLQm2jUKL+aZ+17cuvNUzoKv
Zg91xgHL3LmoGOWHL2G+SnF/ioaLjGP1KIlvYeephEkEAZLtYXusPkXS7AFLl/iQ
kzmyf7B4RkbMC1M+CF5W0e+7DYDXQkLWKrJIyJxym27VjLoDJ9nk/o8MwalARThl
wtJDwLICOLZo6eeI49CEgs00npWG6H9+byaubKaLDgn9Qb5XgOxqEcLBNH5Naz9k
//0nKiv+2mfCSCEX2JFfmCQGX2TYK7FO7lxz21P8kcW9nww9Tt0YoRLtWxsh95rm
kRj9SC3Hagqleg4Kn8OlIaxJPW5oXVorghJFxUbABF1Z/8v/vrfdTCt6g4/HMkjq
Q06tMSqCIPdRW26plYSVxtR7AjtZynJhz5F3tOsWj1X/d4lt+KNf9FDpavS9lf61
E12QxPsXUdrGuwFO3zJi3sbinvQs87gu01gnO1XyxpR2DltlayvVTFCR1I7PhEd6
h90x1tQSOccm6Xi1Usu+x0ymGAeS9+VkDeRxakdnSkp6C4u1DiE=
=+QGn
-----END PGP SIGNATURE-----
diff --git a/flake.nix b/flake.nix
index ddaf734346adc6a4bb6a32158311ce88face8b1a..c0b5b8520a3cbf1fe5a8455fbcbd04b0a9cadb18 100644
--- a/flake.nix
+++ b/flake.nix
@@ -137,39 +137,41 @@ };
};
username = "jolheiser";
system = "x86_64-linux";
+ homeManagerModules = [
+ agenix.homeManagerModules.age
+ {
+ home = {
+ inherit username;
+ homeDirectory = "/home/${username}";
+ };
+ age = {
+ secretsDir = "/home/${username}/.agenix/agenix";
+ secretsMountPoint = "/home/${username}/.agenix/agenix.d";
+ identityPaths = ["/home/${username}/.ssh/nix"];
+ secrets = {
+ ssh-config.file = ./secrets/shared/ssh-config.age;
+ spotify = {
+ file = ./secrets/shared/spotify.age;
+ path = "/home/${username}/.cache/spotify-player/credentials.json";
+ };
+ irc-pw.file = ./secrets/shared/irc-pw.age;
+ gist-pw.file = ./secrets/shared/gist-pw.age;
+ git-send-email.file = ./secrets/shared/git-send-email.age;
+ cachix = {
+ file = ./secrets/shared/cachix.age;
+ path = "/home/${username}/.config/cachix/cachix.dhall";
+ };
+ };
+ };
+ }
+ ./apps/gui
+ ];
in {
+ inherit homeManagerModules;
homeConfigurations = {
"jolheiser" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
- modules = [
- agenix.homeManagerModules.age
- {
- home = {
- inherit username;
- homeDirectory = "/home/${username}";
- };
- age = {
- secretsDir = "/home/${username}/.agenix/agenix";
- secretsMountPoint = "/home/${username}/.agenix/agenix.d";
- identityPaths = ["/home/${username}/.ssh/nix"];
- secrets = {
- ssh-config.file = ./secrets/shared/ssh-config.age;
- spotify = {
- file = ./secrets/shared/spotify.age;
- path = "/home/${username}/.cache/spotify-player/credentials.json";
- };
- irc-pw.file = ./secrets/shared/irc-pw.age;
- gist-pw.file = ./secrets/shared/gist-pw.age;
- git-send-email.file = ./secrets/shared/git-send-email.age;
- cachix = {
- file = ./secrets/shared/cachix.age;
- path = "/home/${username}/.config/cachix/cachix.dhall";
- };
- };
- };
- }
- ./apps/gui
- ];
+ modules = homeManagerModules;
};
};
nixosConfigurations = {