mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-01 17:50:51 +02: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;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
modules = builtins.attrValues modules ++ [
|
modules = builtins.attrValues modules ++ [
|
||||||
../base.nix
|
../machines/base.nix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
host-config
|
host-config
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
@ -67,7 +67,7 @@ in
|
||||||
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
|
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: {
|
mkSubdomain = name: port: {
|
||||||
luj.nginx.enable = true;
|
luj.nginx.enable = true;
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
luj.programs.mosh.enable = true;
|
luj.programs.mosh.enable = true;
|
||||||
luj.deployment.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" ];
|
sops.age.sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
|
||||||
|
|
||||||
time.timeZone = "Europe/Paris";
|
time.timeZone = "Europe/Paris";
|
Loading…
Add table
Reference in a new issue