diff options
Diffstat (limited to 'modules/private/system/eldiron.nix')
-rw-r--r-- | modules/private/system/eldiron.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/private/system/eldiron.nix b/modules/private/system/eldiron.nix index 4fb18a0..6c570c8 100644 --- a/modules/private/system/eldiron.nix +++ b/modules/private/system/eldiron.nix | |||
@@ -1,4 +1,3 @@ | |||
1 | { privateFiles }: | ||
2 | { config, pkgs, lib, ... }: | 1 | { config, pkgs, lib, ... }: |
3 | { | 2 | { |
4 | deployment = { | 3 | deployment = { |
@@ -6,6 +5,8 @@ | |||
6 | targetHost = config.hostEnv.ips.main.ip4; | 5 | targetHost = config.hostEnv.ips.main.ip4; |
7 | substituteOnDestination = true; | 6 | substituteOnDestination = true; |
8 | }; | 7 | }; |
8 | # ssh-keyscan eldiron | nix-shell -p ssh-to-age --run ssh-to-age | ||
9 | secrets.ageKeys = [ "age1dxr5lhvtnjssfaqpnf6qx80h8gfwkxg3tdf35m6n9wljmk7wadfs3kmahj" ]; | ||
9 | boot = { | 10 | boot = { |
10 | kernelModules = [ "kvm-intel" ]; | 11 | kernelModules = [ "kvm-intel" ]; |
11 | blacklistedKernelModules = [ "nvidiafb" ]; | 12 | blacklistedKernelModules = [ "nvidiafb" ]; |
@@ -28,7 +29,7 @@ | |||
28 | ''; | 29 | ''; |
29 | nix.maxJobs = 8; | 30 | nix.maxJobs = 8; |
30 | powerManagement.cpuFreqGovernor = "powersave"; | 31 | powerManagement.cpuFreqGovernor = "powersave"; |
31 | myEnv = import "${privateFiles}/environment.nix" // { inherit privateFiles; }; | 32 | myEnv = import ../../../nixops/secrets/environment.nix; |
32 | 33 | ||
33 | fileSystems = { | 34 | fileSystems = { |
34 | # pools: | 35 | # pools: |