Streamline base install

Don't install printers by default
Don't install NetworkManager by default, as it pulls in WAY too many
dependencies, including a full GUI suite
Simplify the template
This commit is contained in:
Greg Hellings
2025-04-14 00:44:19 -05:00
parent 2b90378800
commit 140ba3d08a
7 changed files with 98 additions and 10 deletions
+2 -3
View File
@@ -45,13 +45,13 @@
settings.auto-optimise-store = true;
};
# I am a fan of network manager, myself
# Network Manager pulls in too many deps
networking = {
search = [
"thehellings.lan"
"home"
];
networkmanager.enable = true;
networkmanager.enable = false;
};
programs.xonsh = {
@@ -79,7 +79,6 @@
createHome = true;
extraGroups = [
"wheel"
"networkmanager"
]; # Enable sudo for the user.
shell = config.programs.xonsh.package;
initialPassword = "password";
+1 -5
View File
@@ -11,11 +11,7 @@ let
in
with lib;
{
options.greg.print.enable = mkOption {
type = types.bool;
default = true;
description = "Configures the system to print with my home printer";
};
options.greg.print.enable = mkEnableOption "Configures the system to print with my home printer";
config = mkIf cfg.enable {
# ipp://printer.thehellings.lan:631/ - generic postscript printer
+1
View File
@@ -15,6 +15,7 @@ in
"net.ipv4.ip_forward" = "1";
"net.ipv6.conf.all.forwarding" = "1";
};
environment.systemPackages = [ config.services.tailscale.package ];
systemd.services.tailscaled.partOf = [ "network-online.target" ];
};
}