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"
);
environment = {
systemPackages = with pkgs; [ ghostty-terminfo ];
etc = {
"lytedev/rev".text = config.system.configurationRevision;
"lytedev/lastModified".text = toString (self.lastModified or "unknown");
@ -152,21 +151,21 @@
hardware.enableRedistributableFirmware = lib.mkDefault true;
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;
};
services = {
openssh = {
enable = lib.mkDefault true;
enable = true;
settings = {
PasswordAuthentication = lib.mkDefault false;
KbdInteractiveAuthentication = lib.mkDefault false;
PermitRootLogin = lib.mkForce "prohibit-password";
PasswordAuthentication = false;
KbdInteractiveAuthentication = false;
PermitRootLogin = "prohibit-password";
};
openFirewall = lib.mkDefault true;
openFirewall = true;
/*
listenAddresses = [
@ -192,7 +191,6 @@
options = lib.mkDefault "ctrl:nocaps";
};
smartd.enable = lib.mkDefault true;
fwupd.enable = lib.mkDefault true;
};
console = {

View file

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

View file

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