cleaner setup

This commit is contained in:
ari committed 2024-01-11 21:37:42 -05:00
1 parent 2741e68f58
commit 07dfb414b0
3 files changed
+9 -2

No files matched your search

+2
View File
@@ -3,6 +3,7 @@
hostName,
user,
enableSSHServer ? false,
firewall ? {enable = true;},
}:
{ ... }:
let
@@ -17,6 +18,7 @@ in
})
(import ./modules/os/core.nix {
hostName = hostName;
firewall = firewall;
})
(import ./modules/os/ssh.nix {
user = user;
+2 -2
View File
@@ -1,4 +1,4 @@
{ hostName }:
{ hostName, firewall }:
{ pkgs, ... }:
{
# Bootloader.
@@ -9,7 +9,7 @@
# Enable networking
networking.networkmanager.enable = true;
networking.firewall.enable = false;
networking.firewall = firewall;
# Set your time zone.
time.timeZone = "America/Toronto";
+5
View File
@@ -3,4 +3,9 @@
{
nixpkgs.config.allowUnfree = true;
system.stateVersion = systemStateVersion;
nix = {
settings = {
experimental-features = [ "nix-command" "flakes" ];
};
};
}