fix: Smaller...
Some checks failed
/ flake-check (push) Failing after 11m49s
/ build-devshell (push) Failing after 11m55s
/ build-host (map[host:router]) (push) Failing after 11m58s
/ build-host (map[host:rascal]) (push) Failing after 12m2s
/ build-host (map[host:foxtrot]) (push) Failing after 12m4s
/ build-host (map[host:flipflop]) (push) Failing after 12m7s
/ build-host (map[host:dragon]) (push) Failing after 12m9s
/ build-host (map[host:beefcake]) (push) Failing after 12m13s

This commit is contained in:
Daniel Flanagan 2025-03-21 00:18:27 -05:00
commit bc15d2755f
3 changed files with 14 additions and 10 deletions

View file

@ -91,7 +91,6 @@
self.shortRev or self.dirtyShortRev or self.lastModified or "unknown" self.shortRev or self.dirtyShortRev or self.lastModified or "unknown"
); );
environment = { environment = {
systemPackages = with pkgs; [ ghostty-terminfo ];
etc = { etc = {
"lytedev/rev".text = config.system.configurationRevision; "lytedev/rev".text = config.system.configurationRevision;
"lytedev/lastModified".text = toString (self.lastModified or "unknown"); "lytedev/lastModified".text = toString (self.lastModified or "unknown");
@ -152,21 +151,21 @@
hardware.enableRedistributableFirmware = lib.mkDefault true; hardware.enableRedistributableFirmware = lib.mkDefault true;
users.users.root = { users.users.root = {
openssh.authorizedKeys.keys = lib.mkDefault [ self.outputs.pubkey ]; openssh.authorizedKeys.keys = [ self.outputs.pubkey ];
shell = lib.mkIf config.lyte.shell.enable pkgs.fish; shell = lib.mkIf config.lyte.shell.enable pkgs.fish;
}; };
services = { services = {
openssh = { openssh = {
enable = lib.mkDefault true; enable = true;
settings = { settings = {
PasswordAuthentication = lib.mkDefault false; PasswordAuthentication = false;
KbdInteractiveAuthentication = lib.mkDefault false; KbdInteractiveAuthentication = false;
PermitRootLogin = lib.mkForce "prohibit-password"; PermitRootLogin = "prohibit-password";
}; };
openFirewall = lib.mkDefault true; openFirewall = true;
/* /*
listenAddresses = [ listenAddresses = [
@ -192,7 +191,6 @@
options = lib.mkDefault "ctrl:nocaps"; options = lib.mkDefault "ctrl:nocaps";
}; };
smartd.enable = lib.mkDefault true; smartd.enable = lib.mkDefault true;
fwupd.enable = lib.mkDefault true;
}; };
console = { console = {

View file

@ -19,6 +19,9 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
programs.nix-index.enable = true; programs.nix-index.enable = true;
programs.command-not-found.enable = false; programs.command-not-found.enable = false;
services = {
fwupd.enable = lib.mkDefault true;
};
users = { users = {
defaultUserShell = pkgs.fish; defaultUserShell = pkgs.fish;
}; };
@ -40,6 +43,7 @@ in
MANPAGER = "bat --style=plain"; MANPAGER = "bat --style=plain";
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
ghostty-terminfo
aria2 aria2
bat bat
bottom bottom

View file

@ -60,7 +60,8 @@
''; '';
networking = { networking = {
wifi.enable = true; useDHCP = true;
wifi.enable = false;
firewall = { firewall = {
enable = true; enable = true;
allowPing = true; allowPing = true;
@ -70,7 +71,8 @@
services.tailscale.useRoutingFeatures = "server"; services.tailscale.useRoutingFeatures = "server";
lyte.shell.enable = false;
home-manager.users.daniel = { home-manager.users.daniel = {
lyte.shell.enable = true; lyte.shell.enable = false;
}; };
} }