nixos/hosts/physical/default.nix
2025-12-12 20:01:48 +00:00

59 lines
1,008 B
Nix

{
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
];
fonts.packages = with pkgs; [
nerd-fonts
];
services.openssh.enable = true;
services.getty.autologinUser = "${vars.user}";
boot = {
# Fun boot spinny!
plymouth = {
enable = true;
theme = "circle_flow";
themePackages = with pkgs; [
(adi1090x-plymouth-themes.override {
selected_themes = [
"circle_flow"
"colorful"
"colorful_sliced"
"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"
];
};
}