This commit is contained in:
2024-01-26 02:28:50 +00:00
parent 197b1df047
commit 409f8a758f
5 changed files with 124 additions and 314 deletions

View File

@@ -51,30 +51,23 @@
];
};
nixpkgs.config.allowUnfree = true;
programs.fuse.userAllowOther = true;
security.sudo.wheelNeedsPassword = false;
virtualisation.docker.enable = true;
nixpkgs.overlays = builtins.attrValues outputs.overlays;
# nixpkgs.overlays = [
# outputs.overlays.unstable-packages
# outputs.overlays.modifications
# outputs.overlays.additions
# ];
# Enable nix flakes
nix.package = pkgs.nixFlakes;
nix.extraOptions = ''
experimental-features = nix-command flakes
'';
nix.nixPath = ["nixpkgs=${inputs.nixpkgs}"];
# nix.nixPath = [ "nixpkgs=pkgs.outPath" ];
networking.search = ["node.dc1.consul" "service.dc1.consul"];
networking.nameservers = ["192.168.1.1" "1.1.1.1"];
# Enable networking
networking.networkmanager.enable = true;
# Select internationalisation properties.
networking.search = ["node.dc1.consul" "service.dc1.consul"];
networking.nameservers = ["192.168.1.1" "1.1.1.1"];
# Select internationalisation properties.
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {