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:
@@ -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";
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user