refactor nix settings

This commit is contained in:
steveej 2023-12-01 21:00:17 +01:00
parent d32cf7e7f8
commit 7a66eb1ef5
6 changed files with 57 additions and 30 deletions

View file

@ -19,6 +19,7 @@
repoFlake.inputs.sops-nix.nixosModules.sops
../../profiles/common/user.nix
../../snippets/nix-settings-holo-chain.nix
# TODO
# ./network.nix
@ -47,19 +48,6 @@
services.openssh.enable = true;
services.openssh.settings.PermitRootLogin = "yes";
nix.nixPath = [
"nixpkgs=${pkgs.path}"
];
nix.registry = {
nixpkgs.to = {
type = "path";
path = pkgs.path;
};
};
nix.settings.experimental-features = ["nix-command" "flakes" "ca-derivations"];
boot = {
kernel = {
sysctl = {