Files
dotfiles/systems/muninn/default.nix
2024-11-21 21:02:12 -05:00

63 lines
1.1 KiB
Nix

{ pkgs, ... }:
{
imports = [
../../users/richie
../../users/gaming
../../common/global
../../common/optional/steam.nix
../../common/optional/systemd-boot.nix
../../common/optional/update.nix
./hardware.nix
];
boot = {
kernelPackages = pkgs.linuxPackages_zen;
zfs.package = pkgs.zfs_unstable;
};
networking = {
hostName = "muninn";
hostId = "a43179c5";
firewall.enable = true;
networkmanager.enable = true;
};
hardware = {
pulseaudio.enable = false;
bluetooth = {
enable = true;
powerOnBoot = true;
};
};
security.rtkit.enable = true;
services = {
getty = {
loginProgram = "${pkgs.gamescope}/bin/gamescope";
loginOptions = "${pkgs.steam}/bin/steam -bigpicture";
autologinUser = "gaming";
};
openssh.ports = [ 262 ];
printing.enable = true;
pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
snapshot_manager.enable = true;
zfs = {
trim.enable = true;
autoScrub.enable = true;
};
};
system.stateVersion = "24.05";
}