Refactor structure
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -37,6 +37,7 @@ in
|
||||
(import ../../../common/configs/user/console/wget { inherit user home; })
|
||||
(import ../../../common/configs/user/console/xdg { inherit user home; })
|
||||
(import ../../../common/configs/user/console/zsh { inherit user home; })
|
||||
|
||||
(import ../../../common/configs/user/gui/astal { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/bluetooth { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/brightnessctl { inherit user home; })
|
||||
@@ -66,9 +67,17 @@ in
|
||||
(import ../../../common/configs/user/gui/x11 { inherit user home; })
|
||||
(import ../../../common/configs/user/gui/xdg { inherit user home; })
|
||||
|
||||
(import ./configs/console/git { inherit user home; })
|
||||
(import ./configs/console/go { inherit user home; })
|
||||
(import ./configs/console/java { inherit user home; })
|
||||
(import ./configs/console/kubernetes { inherit user home; })
|
||||
|
||||
(import ./configs/gui/obsidian { inherit user home; })
|
||||
|
||||
# Warning: the following imports use private SAS repositories.
|
||||
# You must build the system once with these imports commented out,
|
||||
# then uncomment them and rebuild the system once keys are provisioned.
|
||||
(import ./configs/console/jsonify { inherit user home; })
|
||||
];
|
||||
|
||||
# echo "password" | mkpasswd -s
|
||||
@@ -100,80 +109,24 @@ in
|
||||
|
||||
sops.secrets = {
|
||||
# Personal
|
||||
"git/credentials" = {
|
||||
"ssh/personal/key" = {
|
||||
sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
path = "${home}/.config/git/credentials";
|
||||
path = "${home}/.ssh/ssh_personal_ed25519_key";
|
||||
};
|
||||
"git/cookies" = {
|
||||
sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
path = "${home}/.config/git/cookies";
|
||||
};
|
||||
|
||||
"ssh/personal/git/key" = {
|
||||
sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
path = "${home}/.ssh/ssh_git_personal_ed25519_key";
|
||||
};
|
||||
"ssh/personal/git/pass".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
"ssh/personal/pass".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
|
||||
"gpg/personal/key".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
"gpg/personal/pass".sopsFile = ../../../../secrets/personal/secrets.yaml;
|
||||
|
||||
# SAS
|
||||
"ssh/sas/git/key" = {
|
||||
"ssh/sas/key" = {
|
||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
path = "${home}/.ssh/ssh_git_sas_ed25519_key";
|
||||
path = "${home}/.ssh/ssh_sas_ed25519_key";
|
||||
};
|
||||
"ssh/sas/git/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
"ssh/sas/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
|
||||
"gpg/sas/key".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
"gpg/sas/pass".sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
|
||||
"kubeconfig/d90270" = {
|
||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
path = "${home}/.kube/d90270";
|
||||
};
|
||||
"kubeconfig/d90271" = {
|
||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
path = "${home}/.kube/d90271";
|
||||
};
|
||||
"kubeconfig/d90272" = {
|
||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
path = "${home}/.kube/d90272";
|
||||
};
|
||||
|
||||
"artifactory" = {
|
||||
sopsFile = ../../../../secrets/sas/secrets.yaml;
|
||||
path = "${home}/.gradle/gradle.properties";
|
||||
};
|
||||
};
|
||||
|
||||
programs = {
|
||||
ssh.matchBlocks = {
|
||||
# Personal
|
||||
"github.com/karaolidis" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_git_personal_ed25519_key";
|
||||
extraOptions.StrictHostKeyChecking = "no";
|
||||
};
|
||||
|
||||
# SAS
|
||||
"github.com" = {
|
||||
hostname = "github.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_git_sas_ed25519_key";
|
||||
extraOptions.StrictHostKeyChecking = "no";
|
||||
};
|
||||
|
||||
"gitlab.sas.com" = {
|
||||
hostname = "gitlab.sas.com";
|
||||
user = "git";
|
||||
identityFile = "${home}/.ssh/ssh_git_sas_ed25519_key";
|
||||
extraOptions.StrictHostKeyChecking = "no";
|
||||
};
|
||||
};
|
||||
|
||||
obsidian.vaults."Documents/Obsidian/master".enable = true;
|
||||
};
|
||||
|
||||
theme.wallpaper = ../../../../static/wallpapers/snow.jpg;
|
||||
|
Reference in New Issue
Block a user