moved base

This commit is contained in:
Julien Malka 2023-07-28 12:30:22 +02:00
parent efdcb47e65
commit c11c0921da
Signed by: Luj
GPG key ID: 6FC74C847011FD83
2 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ in
inherit inputs;
};
modules = builtins.attrValues modules ++ [
../base.nix
../machines/base.nix
inputs.sops-nix.nixosModules.sops
host-config
home-manager.nixosModules.home-manager
@ -67,7 +67,7 @@ in
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
};
importConfig = path: (mapAttrs (name: value: import (path + "/${name}/default.nix")) (readDir path));
importConfig = path: (mapAttrs (name: value: import (path + "/${name}/default.nix")) (final.filterAttrs (_: v: v == "directory") (readDir path)));
mkSubdomain = name: port: {
luj.nginx.enable = true;

View file

@ -8,7 +8,7 @@
luj.programs.mosh.enable = true;
luj.deployment.enable = true;
sops.defaultSopsFile = ./secrets/secrets.yaml;
sops.defaultSopsFile = ../secrets/secrets.yaml;
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
time.timeZone = "Europe/Paris";