nixos/modules/hosts/crow/configuration.nix
2026-05-19 22:25:43 +00:00

89 lines
1.8 KiB
Nix

{ self, inputs, ... }: {
flake.nixosModules.crowConfiguration = { pkgs, lib, ... }: {
inherit inputs;
imports = [
self.nixosModules.crowHardware
self.nixosModules.nest
self.nixosModules.niri
self.nixosModules.alacritty
self.nixosModules.git
self.nixosModules.gdm
self.nixosModules.hsr
self.nixosModules.zsh
];
environment.systemPackages = with pkgs; [
pavucontrol
bolt-launcher
wine
usbutils
virt-manager
prismlauncher
kubectl
kompose
openlens
htop
zip
unzip
dig
traceroute
neovim
wget
pciutils
];
programs = {
brave.enable = true;
lutris.enable = true;
vesktop.enable = true;
steam.enable = true;
};
networking.networkmanager.enable = true;
networking.hostName = "crow";
fonts.packages = with pkgs; [
nerd-fonts.fira-code
nerd-fonts.droid-sans-mono
noto-fonts
];
services = {
openssh.enable = true;
blueman.enable = true;
};
boot = {
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
timeout = 1;
};
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "amdgpu" ];
# "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"
];
};
nix.settings.experimental-features = [ "nix-commands" "flakes" ];
nix.settings.auto-optimise-store = true;
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
};
}