fix (user data): change some user data
This commit is contained in:
parent
3e5ea47cea
commit
41ea5804e5
1 changed files with 18 additions and 5 deletions
|
|
@ -6,6 +6,14 @@
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
homeDir = "/home/${userName}";
|
homeDir = "/home/${userName}";
|
||||||
|
|
||||||
|
projectsDir = "${homeDir}/NewProjects";
|
||||||
|
configDir = "${projectsDir}/nixos-config";
|
||||||
|
sopsSubmoduleDir = "${configDir}/secrets-nixos";
|
||||||
|
|
||||||
|
securityDir = "${homeDir}/.security";
|
||||||
|
gpgDir = "${securityDir}/gpg";
|
||||||
|
sopsKeyFile = "${securityDir}/sops/age/keys.txt";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
info = {
|
info = {
|
||||||
|
|
@ -15,13 +23,18 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
paths = {
|
paths = {
|
||||||
inherit homeDir;
|
inherit
|
||||||
configDir = "${homeDir}/NewProjects/nixos-config";
|
homeDir
|
||||||
downloadsDir = "${homeDir}/Downloads";
|
|
||||||
|
gpgDir
|
||||||
|
|
||||||
|
configDir
|
||||||
|
sopsSubmoduleDir
|
||||||
|
sopsKeyFile
|
||||||
|
;
|
||||||
|
|
||||||
sshDir = "${homeDir}/.ssh";
|
sshDir = "${homeDir}/.ssh";
|
||||||
gpgDir = "${homeDir}/.security/gpg";
|
downloadsDir = "${homeDir}/Downloads";
|
||||||
sopsKeyFile = "${homeDir}/.security/sops/age/keys.txt";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
device = {
|
device = {
|
||||||
|
|
|
||||||
Reference in a new issue