Add xdg settings, cache, cleanup script
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
|
||||
let
|
||||
user = config.users.users.nick;
|
||||
in
|
||||
{
|
||||
in {
|
||||
imports = [
|
||||
../common
|
||||
(import ../configs/zsh { inherit user; })
|
||||
@@ -23,7 +22,7 @@ in
|
||||
home = "/home/nick";
|
||||
email = "nick@karaolidis.com";
|
||||
fullName = "Nikolaos Karaolidis";
|
||||
description = config.users.users.nick.fullName;
|
||||
description = user.fullName;
|
||||
hashedPasswordFile = config.sops.secrets.nick-password.path;
|
||||
extraGroups = [ "wheel" ];
|
||||
linger = true;
|
||||
@@ -31,14 +30,7 @@ in
|
||||
};
|
||||
|
||||
home-manager.users.nick = {
|
||||
home.homeDirectory = config.users.users.nick.home;
|
||||
sops = {
|
||||
defaultSopsFile = ./secrets/secrets.yaml;
|
||||
secrets = {
|
||||
"git" = { path = "/home/nick/.git-credentials"; };
|
||||
"gpg-agent/pgp.key" = { };
|
||||
"gpg-agent/pgp.pass" = { };
|
||||
};
|
||||
};
|
||||
home.homeDirectory = user.home;
|
||||
sops.defaultSopsFile = ./secrets/secrets.yaml;
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user