mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 04:58:19 -04:00
65 lines
1.1 KiB
Nix
65 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 = ./gs.sh;
|
|
# 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";
|
|
}
|