mirror of
https://github.com/RichieCahill/dotfiles.git
synced 2026-04-17 13:08:19 -04:00
72 lines
1.3 KiB
Nix
72 lines
1.3 KiB
Nix
{ inputs, pkgs, ... }:
|
|
{
|
|
imports = [
|
|
../../users/gaming
|
|
../../users/richie
|
|
../../common/global
|
|
../../common/optional/desktop_kernel.nix
|
|
../../common/optional/steam.nix
|
|
../../common/optional/systemd-boot.nix
|
|
../../common/optional/update.nix
|
|
./hardware.nix
|
|
inputs.nixos-hardware.nixosModules.framework-11th-gen-intel
|
|
];
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
plex-media-player
|
|
];
|
|
|
|
networking = {
|
|
hostName = "muninn";
|
|
hostId = "a43179c5";
|
|
firewall.enable = true;
|
|
networkmanager.enable = true;
|
|
};
|
|
|
|
hardware = {
|
|
pulseaudio.enable = false;
|
|
bluetooth = {
|
|
enable = true;
|
|
powerOnBoot = true;
|
|
};
|
|
firmware = [ pkgs.sof-firmware ];
|
|
};
|
|
|
|
security.rtkit.enable = true;
|
|
|
|
services = {
|
|
displayManager = {
|
|
sddm = {
|
|
enable = true;
|
|
wayland.enable = true;
|
|
};
|
|
enable = true;
|
|
autoLogin = {
|
|
user = "gaming";
|
|
enable = true;
|
|
};
|
|
defaultSession = "steam";
|
|
};
|
|
|
|
openssh.ports = [ 295 ];
|
|
|
|
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";
|
|
}
|