mirror of https://git.jolheiser.com/dotnix.git
parent
fdf3a2135a
commit
955ea04cbf
60
flake.nix
60
flake.nix
|
@ -137,39 +137,41 @@
|
||||||
};
|
};
|
||||||
username = "jolheiser";
|
username = "jolheiser";
|
||||||
system = "x86_64-linux";
|
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 {
|
in {
|
||||||
|
inherit homeManagerModules;
|
||||||
homeConfigurations = {
|
homeConfigurations = {
|
||||||
"jolheiser" = home-manager.lib.homeManagerConfiguration {
|
"jolheiser" = home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [
|
modules = 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
|
|
||||||
];
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
Loading…
Reference in New Issue