mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
finish nomad, add consul, sops
This commit is contained in:
@@ -28,12 +28,12 @@
|
|||||||
# age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
# age.sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
|
||||||
# };
|
# };
|
||||||
|
|
||||||
# Enable nix flakes
|
# Enable nix flakes
|
||||||
nix.package = pkgs.nixFlakes;
|
nix.package = pkgs.nixFlakes;
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
'';
|
'';
|
||||||
nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = [
|
||||||
pkgs.git
|
pkgs.git
|
||||||
@@ -45,6 +45,5 @@ nix.nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
|
|||||||
settings.PermitRootLogin = "yes";
|
settings.PermitRootLogin = "yes";
|
||||||
};
|
};
|
||||||
users.extraUsers.root.initialPassword = lib.mkForce "odroid";
|
users.extraUsers.root.initialPassword = lib.mkForce "odroid";
|
||||||
}
|
};
|
||||||
;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user