fix: change flake base path for winters

This commit is contained in:
Swarsel 2024-09-23 22:37:25 +02:00
parent 9e6fd597b2
commit b019b1562f
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
5 changed files with 18 additions and 6 deletions

View file

@ -41,8 +41,8 @@
environment.shellAliases = lib.recursiveUpdate
{
npswitch = "cd /.dotfiles; git pull; nixos-rebuild --flake .#$(hostname) switch; cd -;";
nswitch = "cd /.dotfiles; nixos-rebuild --flake .#$(hostname) switch; cd -;";
npswitch = "cd ${config.swarselsystems.flakePath}; git pull; nixos-rebuild --flake .#$(hostname) switch; cd -;";
nswitch = "cd ${config.swarselsystems.flakePath}; nixos-rebuild --flake .#$(hostname) switch; cd -;";
}
config.swarselsystems.shellAliases;

View file

@ -2,7 +2,7 @@
{
sops = {
age.sshKeyPaths = [ "/etc/ssh/sops" ];
defaultSopsFile = "/.dotfiles/secrets/server/winters/secrets.yaml";
defaultSopsFile = "${config.swarselsystems.flakePath}/secrets/server/winters/secrets.yaml";
validateSopsFiles = false;
};

View file

@ -37,6 +37,8 @@
hasFingerprint = false;
impermanence = false;
isBtrfs = false;
initialSetup = true;
flakePath = "/home/swarsel/.dotfiles";
server = {
enable = true;
kavita = true;