hosts/dunamis/nix.nix: sync nix
hosts/eldrid/nix.nix: sync nix hosts/sarien/nix.nix: sync nix Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -2,12 +2,14 @@
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
# pkgs,
|
||||
...
|
||||
}: {
|
||||
imports = with inputs; [
|
||||
lix.nixosModules.default
|
||||
determinate.nixosModules.default
|
||||
];
|
||||
nix = {
|
||||
# package = pkgs.lix;
|
||||
channel.enable = false;
|
||||
settings.experimental-features = ["nix-command" "flakes"];
|
||||
daemonCPUSchedPolicy = "idle";
|
||||
|
@ -1,12 +1,18 @@
|
||||
# TODO: better file name
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
# pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
inherit (config.sops) secrets;
|
||||
inherit (inputs) mysecrets;
|
||||
in {
|
||||
imports = with inputs; [
|
||||
lix.nixosModules.default
|
||||
determinate.nixosModules.default
|
||||
];
|
||||
nix = {
|
||||
# package = pkgs.lix;
|
||||
channel.enable = false;
|
||||
daemonCPUSchedPolicy = "idle";
|
||||
settings = {
|
||||
@ -19,9 +25,9 @@
|
||||
hostName = "dunamis";
|
||||
sshUser = "nix-ssh";
|
||||
system = "x86_64-linux";
|
||||
sshKey = config.sops.secrets."ssh-eldrid-user".path;
|
||||
sshKey = secrets."ssh-eldrid-user".path;
|
||||
supportedFeatures = ["nixos-test" "big-parallel" "kvm" "benchmark"];
|
||||
publicHostKey = builtins.readFile "${inputs.mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
|
||||
publicHostKey = builtins.readFile "${mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
@ -1,9 +1,13 @@
|
||||
# TODO: better file name
|
||||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
# pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
inherit (config.sops) secrets;
|
||||
inherit (inputs) mysecrets;
|
||||
in {
|
||||
imports = with inputs; [
|
||||
determinate.nixosModules.default
|
||||
];
|
||||
@ -21,9 +25,9 @@
|
||||
hostName = "dunamis";
|
||||
sshUser = "nix-ssh";
|
||||
system = "x86_64-linux";
|
||||
sshKey = config.sops.secrets."ssh-sarien-user".path;
|
||||
sshKey = secrets."ssh-eldrid-user".path;
|
||||
supportedFeatures = ["nixos-test" "big-parallel" "kvm" "benchmark"];
|
||||
publicHostKey = builtins.readFile "${inputs.mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
|
||||
publicHostKey = builtins.readFile "${mysecrets}/ssh/ssh_host_ed25519_dunamis.base64";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
Reference in New Issue
Block a user