mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-27 06:10:53 +01:00
moved base
This commit is contained in:
parent
efdcb47e65
commit
c11c0921da
2 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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";
|
Loading…
Add table
Reference in a new issue