nixos/hosts/physical/default.nix

60 lines
1,008 B
Nix
Raw Normal View History

2025-12-08 20:30:22 -05:00
{
pkgs,
inputs,
vars,
...
}:
{
imports = [
inputs.home-manager.nixosModules.home-manager
../../nixos/modules/home-manager.nix
];
# Enable networking
networking.networkmanager.enable = true;
environment.systemPackages = with pkgs; [
neovim
wget
];
2025-12-12 20:01:48 +00:00
fonts.packages = with pkgs; [
nerd-fonts
];
2025-12-08 20:30:22 -05:00
services.openssh.enable = true;
services.getty.autologinUser = "${vars.user}";
boot = {
# Fun boot spinny!
plymouth = {
enable = true;
theme = "circle_flow";
themePackages = with pkgs; [
2025-12-09 23:43:33 +00:00
(adi1090x-plymouth-themes.override {
2025-12-08 20:30:22 -05:00
selected_themes = [
2025-12-09 23:43:33 +00:00
"circle_flow"
2025-12-08 20:30:22 -05:00
"colorful"
2025-12-09 23:43:33 +00:00
"colorful_sliced"
2025-12-08 20:30:22 -05:00
"double"
"polaroid"
];
})
];
};
# "Silent" boot
initrd.verbose = false;
kernelParams = [
"quiet"
"splash"
"boot.shell_on_fail"
"loglevel=3"
"rd.systemd.show_status=false"
"rd.udev.log_level=3"
"udev.log_priority=3"
];
};
}