L-Nafaryus
25a4c9af9c
All checks were successful
nix / check (push) Successful in 2m59s
astora: exclude hyprland and some tools for kde expansion lib.preconfiguredModules: common nixos configurations lib.preconfiguredModules.bonvim: change python tool set, remove deprecations packages.wezterm: exclude from evaluation [see #8] nixosModules.zapret: exclude from evaluation [see #9]
54 lines
1.0 KiB
Nix
54 lines
1.0 KiB
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
# Boot
|
|
boot = {
|
|
kernelModules = ["kvm-amd"];
|
|
extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
|
};
|
|
|
|
users.users.root.initialPassword = "nixos";
|
|
|
|
# Filesystem
|
|
fileSystems = {
|
|
"/media/steam-library" = {
|
|
device = "/dev/disk/by-label/siegward";
|
|
fsType = "btrfs";
|
|
options = ["subvol=steam-library" "compress=zstd"];
|
|
};
|
|
|
|
"/media/lutris" = {
|
|
device = "/dev/disk/by-label/siegward";
|
|
fsType = "btrfs";
|
|
options = ["subvol=lutris" "compress=zstd"];
|
|
};
|
|
};
|
|
|
|
services.fstrim.enable = true;
|
|
|
|
# Hardware etc
|
|
hardware = {
|
|
cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
nvidia.nvidiaSettings = true;
|
|
nvidia.modesetting.enable = true;
|
|
nvidia.open = false;
|
|
|
|
graphics.enable = true;
|
|
graphics.enable32Bit = true;
|
|
|
|
bluetooth.enable = true;
|
|
|
|
pulseaudio.enable = false;
|
|
};
|
|
|
|
networking = {
|
|
networkmanager = {
|
|
enable = true;
|
|
enableStrongSwan = true;
|
|
};
|
|
};
|
|
}
|