2024-05-07 03:23:55 -04:00
|
|
|
{
|
|
|
|
pkgs,
|
|
|
|
config,
|
|
|
|
inputs,
|
2024-05-16 02:40:39 -04:00
|
|
|
lib,
|
2024-05-07 03:23:55 -04:00
|
|
|
...
|
|
|
|
}:
|
2024-05-16 02:40:39 -04:00
|
|
|
with lib // pkgs // inputs; {
|
2024-06-13 23:47:00 -04:00
|
|
|
imports = [./hardware.nix];
|
2024-05-07 03:23:55 -04:00
|
|
|
|
2024-05-28 04:08:06 -04:00
|
|
|
security = {
|
|
|
|
rtkit.enable = true;
|
|
|
|
|
2024-06-13 23:47:00 -04:00
|
|
|
pam = {
|
|
|
|
services.greetd.enableGnomeKeyring = true;
|
|
|
|
|
|
|
|
loginLimits = [
|
|
|
|
{
|
|
|
|
domain = "*";
|
|
|
|
item = "nofile";
|
|
|
|
type = "-";
|
|
|
|
value = "32768";
|
|
|
|
}
|
|
|
|
{
|
|
|
|
domain = "*";
|
|
|
|
item = "memlock";
|
|
|
|
type = "-";
|
|
|
|
value = "32768";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
|
2024-06-13 23:47:00 -04:00
|
|
|
sudo.wheelNeedsPassword = false;
|
2024-05-28 04:08:06 -04:00
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
|
|
|
|
console.catppuccin.enable = true;
|
|
|
|
|
2024-06-13 23:47:00 -04:00
|
|
|
systemd.tmpfiles.rules = [
|
|
|
|
"f /dev/shm/looking-glass 0660 marshall qemu-libvirtd -"
|
|
|
|
];
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
systemd.user.extraConfig = let
|
|
|
|
path = lib.concatStringsSep ":" [
|
|
|
|
"/run/wrappers/bin"
|
|
|
|
"/etc/profiles/per-user/%u/bin"
|
|
|
|
"/nix/var/nix/profiles/default/bin"
|
|
|
|
"/run/current-system/sw/bin"
|
|
|
|
];
|
|
|
|
in ''
|
|
|
|
DefaultEnvironment="PATH=${path}"
|
|
|
|
'';
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
age = {
|
|
|
|
secrets.passwd.file = /etc/secrets/passwd.age;
|
2024-05-28 04:08:06 -04:00
|
|
|
identityPaths = ["/persist/root/.ssh/id_ed25519"];
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
chaotic = {
|
|
|
|
scx = {
|
|
|
|
enable = true;
|
|
|
|
scheduler = "scx_rusty";
|
|
|
|
};
|
|
|
|
|
|
|
|
steam.extraCompatPackages = [
|
|
|
|
luxtorpeda
|
|
|
|
proton-ge-custom
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
virtualisation = {
|
|
|
|
spiceUSBRedirection.enable = true;
|
|
|
|
|
|
|
|
libvirtd = {
|
|
|
|
enable = true;
|
2024-06-13 23:47:00 -04:00
|
|
|
|
|
|
|
onBoot = "ignore";
|
|
|
|
onShutdown = "shutdown";
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
qemu = {
|
|
|
|
package = qemu_kvm;
|
|
|
|
swtpm.enable = true;
|
2024-06-13 23:47:00 -04:00
|
|
|
runAsRoot = false;
|
2024-05-16 02:40:39 -04:00
|
|
|
ovmf.enable = true;
|
|
|
|
ovmf.packages = [OVMFFull.fd];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
podman = {
|
|
|
|
enable = true;
|
|
|
|
dockerCompat = true;
|
|
|
|
dockerSocket.enable = true;
|
|
|
|
};
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
environment = {
|
|
|
|
sessionVariables = {
|
2024-05-28 04:08:06 -04:00
|
|
|
BROWSER = "firefox-nightly";
|
2024-06-13 23:47:00 -04:00
|
|
|
DIRENV_WARN_TIMEOUT = "100s";
|
2024-05-07 03:23:55 -04:00
|
|
|
EDITOR = "nvim";
|
2024-05-28 04:08:06 -04:00
|
|
|
TERMINAL = "wezterm";
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
systemPackages = [
|
|
|
|
agenix.packages.${system}.default
|
|
|
|
gnome.nautilus
|
|
|
|
internal.lightly-boehs-qt6
|
2024-06-13 23:47:00 -04:00
|
|
|
looking-glass-client
|
2024-05-16 02:40:39 -04:00
|
|
|
snowfallorg.flake
|
|
|
|
sound-theme-freedesktop
|
2024-06-13 23:47:00 -04:00
|
|
|
virtio-win
|
2024-07-28 02:49:27 -04:00
|
|
|
(warp-terminal.override {waylandSupport = true;})
|
2024-05-28 04:08:06 -04:00
|
|
|
winetricks
|
|
|
|
wineWowPackages.staging
|
2024-05-16 02:40:39 -04:00
|
|
|
xclip
|
|
|
|
yt-dlp
|
|
|
|
];
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
persistence."/persist" = {
|
|
|
|
hideMounts = true;
|
|
|
|
directories = [
|
2024-05-16 03:56:19 -04:00
|
|
|
"/etc/NetworkManager"
|
2024-05-07 03:23:55 -04:00
|
|
|
"/etc/secrets"
|
|
|
|
"/etc/ssh"
|
2024-05-16 03:56:19 -04:00
|
|
|
"/root/.ssh"
|
2024-05-07 03:23:55 -04:00
|
|
|
"/var/lib/bluetooth"
|
2024-06-13 23:47:00 -04:00
|
|
|
"/var/lib/libvirt"
|
2024-05-07 03:23:55 -04:00
|
|
|
"/var/lib/nixos"
|
|
|
|
"/var/lib/systemd/coredump"
|
|
|
|
];
|
2024-05-28 04:08:06 -04:00
|
|
|
files = ["/etc/machine-id"];
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
boot = {
|
2024-05-16 02:40:39 -04:00
|
|
|
blacklistedKernelModules = ["nouveau"];
|
2024-05-07 03:23:55 -04:00
|
|
|
kernelPackages = linuxPackages_cachyos;
|
|
|
|
supportedFilesystems = ["btrfs" "ntfs"];
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
initrd.systemd = {
|
|
|
|
enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
emergencyAccess = true; # No password needed because of LUKS
|
2024-05-16 02:40:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
plymouth = {
|
|
|
|
enable = true;
|
|
|
|
catppuccin.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
extraModprobeConfig =
|
|
|
|
"options nvidia "
|
|
|
|
+ concatStringsSep " " [
|
|
|
|
"NVreg_UsePageAttributeTable=1"
|
|
|
|
"NVreg_EnablePCIeGen3=1"
|
|
|
|
"NVreg_RegistryDwords=RMUseSwI2c=0x01;RMI2cSpeed=100"
|
|
|
|
];
|
|
|
|
|
|
|
|
kernelParams = [
|
|
|
|
"intel_iommu=on"
|
|
|
|
"iommu=pt"
|
|
|
|
"kvm.ignore_msrs=1"
|
|
|
|
"modprobe.blacklist=nouveau"
|
|
|
|
];
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
loader = {
|
|
|
|
efi.canTouchEfiVariables = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
|
|
|
|
systemd-boot = {
|
|
|
|
enable = true;
|
|
|
|
configurationLimit = 20;
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
nix = let
|
|
|
|
mappedRegistry = pipe inputs [
|
|
|
|
(filterAttrs (_: isType "flake"))
|
|
|
|
(mapAttrs (_: flake: {inherit flake;}))
|
|
|
|
(x: x // {nixpkgs.flake = nixpkgs;})
|
|
|
|
];
|
2024-07-28 21:52:06 -04:00
|
|
|
|
|
|
|
nixSuper = inputs.nix-super.packages.${pkgs.system}.default;
|
2024-05-16 02:40:39 -04:00
|
|
|
in {
|
|
|
|
package = mkForce nixSuper;
|
|
|
|
registry = mappedRegistry // optionalAttrs (config.nix.package == nixSuper) {default = mappedRegistry.nixpkgs;};
|
|
|
|
nixPath = mapAttrsToList (key: _: "${key}=flake:${key}") config.nix.registry;
|
|
|
|
|
|
|
|
daemonCPUSchedPolicy = "batch";
|
|
|
|
daemonIOSchedClass = "idle";
|
|
|
|
daemonIOSchedPriority = 7;
|
|
|
|
|
|
|
|
gc = {
|
|
|
|
automatic = true;
|
|
|
|
dates = "Sat *-*-* 03:00";
|
|
|
|
options = "--delete-older-than 30d";
|
|
|
|
};
|
|
|
|
|
|
|
|
optimise = {
|
|
|
|
automatic = true;
|
|
|
|
dates = ["04:00"];
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
settings = {
|
2024-05-16 02:40:39 -04:00
|
|
|
auto-optimise-store = true;
|
|
|
|
builders-use-substitutes = true;
|
|
|
|
flake-registry = "/etc/nix/registry.json";
|
|
|
|
keep-going = true;
|
|
|
|
log-lines = 30;
|
|
|
|
max-jobs = "auto";
|
|
|
|
sandbox-fallback = false;
|
|
|
|
sandbox = true;
|
|
|
|
system-features = ["nixos-test" "kvm" "recursive-nix" "big-parallel"];
|
|
|
|
use-cgroups = true;
|
|
|
|
use-xdg-base-directories = true;
|
|
|
|
warn-dirty = false;
|
|
|
|
|
|
|
|
allowed-users = ["root" "@wheel" "nix-builder"];
|
|
|
|
trusted-users = ["root" "@wheel" "nix-builder"];
|
|
|
|
|
|
|
|
min-free = "${toString (5 * 1024 * 1024 * 1024)}";
|
|
|
|
max-free = "${toString (10 * 1024 * 1024 * 1024)}";
|
|
|
|
|
|
|
|
extra-experimental-features = [
|
|
|
|
"flakes" # flakes
|
|
|
|
"nix-command" # experimental nix commands
|
|
|
|
"recursive-nix" # let nix invoke itself
|
|
|
|
"ca-derivations" # content addressed nix
|
|
|
|
"auto-allocate-uids" # allow nix to automatically pick UIDs, rather than creating nixbld* user accounts
|
|
|
|
"cgroups" # allow nix to execute builds inside cgroups
|
|
|
|
];
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
substituters = [
|
2024-06-16 01:52:32 -04:00
|
|
|
"https://cache.nixos.org?priority=100"
|
2024-05-28 04:08:06 -04:00
|
|
|
"https://cache.privatevoid.net"
|
|
|
|
"https://cuda-maintainers.cachix.org"
|
|
|
|
"https://hyprland.cachix.org"
|
2024-05-07 03:23:55 -04:00
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://nyx.chaotic.cx/"
|
|
|
|
];
|
|
|
|
|
|
|
|
trusted-public-keys = [
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
2024-05-28 04:08:06 -04:00
|
|
|
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
2024-05-07 03:23:55 -04:00
|
|
|
"chaotic-nyx.cachix.org-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
2024-05-16 02:40:39 -04:00
|
|
|
"cuda-maintainers.cachix.org-1:0dq3bujKpuEPMCX6U4WylrUDZ9JyUG0VpVZa7CNfq5E="
|
2024-05-28 04:08:06 -04:00
|
|
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"nyx.chaotic.cx-1:HfnXSw4pj95iI/n17rIDy40agHj12WfF+Gqk6SonIT8="
|
2024-05-07 03:23:55 -04:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
programs = {
|
2024-05-16 02:40:39 -04:00
|
|
|
dconf.enable = true;
|
2024-05-07 03:23:55 -04:00
|
|
|
fish.enable = true;
|
|
|
|
gamemode.enable = true;
|
|
|
|
steam.enable = true;
|
|
|
|
gnupg.agent.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
virt-manager.enable = true;
|
2024-05-07 03:23:55 -04:00
|
|
|
|
2024-05-28 04:08:06 -04:00
|
|
|
hyprland = {
|
|
|
|
enable = true;
|
|
|
|
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
|
|
|
|
};
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
nh = {
|
|
|
|
enable = true;
|
|
|
|
flake = "/home/marshall/nix-config";
|
|
|
|
};
|
2024-06-26 03:14:20 -04:00
|
|
|
|
|
|
|
nix-ld = {
|
|
|
|
enable = true;
|
|
|
|
libraries = with pkgs; [
|
|
|
|
SDL
|
|
|
|
SDL2
|
|
|
|
SDL2_image
|
|
|
|
SDL2_mixer
|
|
|
|
SDL2_ttf
|
|
|
|
SDL_image
|
|
|
|
SDL_mixer
|
|
|
|
SDL_ttf
|
|
|
|
alsa-lib
|
|
|
|
at-spi2-atk
|
|
|
|
at-spi2-core
|
|
|
|
atk
|
|
|
|
bzip2
|
|
|
|
cairo
|
|
|
|
cups
|
|
|
|
curlWithGnuTls
|
|
|
|
dbus
|
|
|
|
dbus-glib
|
|
|
|
desktop-file-utils
|
|
|
|
e2fsprogs
|
|
|
|
expat
|
|
|
|
flac
|
|
|
|
fontconfig
|
|
|
|
freeglut
|
|
|
|
freetype
|
|
|
|
fribidi
|
|
|
|
fuse
|
|
|
|
fuse3
|
|
|
|
gdk-pixbuf
|
|
|
|
glew110
|
|
|
|
glib
|
|
|
|
gmp
|
|
|
|
gst_all_1.gst-plugins-base
|
|
|
|
gst_all_1.gst-plugins-ugly
|
|
|
|
gst_all_1.gstreamer
|
|
|
|
gtk2
|
|
|
|
harfbuzz
|
|
|
|
icu
|
|
|
|
keyutils.lib
|
2024-07-28 02:49:27 -04:00
|
|
|
libgcc
|
2024-06-26 03:14:20 -04:00
|
|
|
libGL
|
|
|
|
libGLU
|
|
|
|
libappindicator-gtk2
|
|
|
|
libcaca
|
|
|
|
libcanberra
|
|
|
|
libcap
|
|
|
|
libclang.lib
|
|
|
|
libdbusmenu
|
|
|
|
libdrm
|
|
|
|
libgcrypt
|
|
|
|
libgpg-error
|
|
|
|
libidn
|
|
|
|
libjack2
|
|
|
|
libjpeg
|
|
|
|
libmikmod
|
|
|
|
libogg
|
|
|
|
libpng12
|
|
|
|
libpulseaudio
|
|
|
|
librsvg
|
|
|
|
libsamplerate
|
|
|
|
libthai
|
|
|
|
libtheora
|
|
|
|
libtiff
|
|
|
|
libudev0-shim
|
|
|
|
libusb1
|
|
|
|
libuuid
|
|
|
|
libvdpau
|
|
|
|
libvorbis
|
|
|
|
libvpx
|
|
|
|
libxcrypt-legacy
|
|
|
|
libxkbcommon
|
|
|
|
libxml2
|
|
|
|
mesa
|
|
|
|
nspr
|
|
|
|
nss
|
|
|
|
openssl
|
|
|
|
p11-kit
|
|
|
|
pango
|
|
|
|
pixman
|
|
|
|
python3
|
|
|
|
speex
|
|
|
|
stdenv.cc.cc
|
|
|
|
tbb
|
|
|
|
udev
|
|
|
|
vulkan-loader
|
|
|
|
wayland
|
|
|
|
xorg.libICE
|
|
|
|
xorg.libSM
|
|
|
|
xorg.libX11
|
|
|
|
xorg.libXScrnSaver
|
|
|
|
xorg.libXcomposite
|
|
|
|
xorg.libXcursor
|
|
|
|
xorg.libXdamage
|
|
|
|
xorg.libXext
|
|
|
|
xorg.libXfixes
|
|
|
|
xorg.libXft
|
|
|
|
xorg.libXi
|
|
|
|
xorg.libXinerama
|
|
|
|
xorg.libXmu
|
|
|
|
xorg.libXrandr
|
|
|
|
xorg.libXrender
|
|
|
|
xorg.libXt
|
|
|
|
xorg.libXtst
|
|
|
|
xorg.libXxf86vm
|
|
|
|
xorg.libpciaccess
|
|
|
|
xorg.libxcb
|
|
|
|
xorg.xcbutil
|
|
|
|
xorg.xcbutilimage
|
|
|
|
xorg.xcbutilkeysyms
|
|
|
|
xorg.xcbutilrenderutil
|
|
|
|
xorg.xcbutilwm
|
|
|
|
xorg.xkeyboardconfig
|
|
|
|
xz
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
networking = {
|
2024-05-28 04:08:06 -04:00
|
|
|
useDHCP = mkDefault true;
|
2024-05-07 03:23:55 -04:00
|
|
|
hostName = "navis";
|
|
|
|
firewall.enable = false;
|
2024-05-16 02:40:39 -04:00
|
|
|
nameservers = ["1.1.1.1" "1.0.0.1"];
|
|
|
|
networkmanager.dns = "none";
|
|
|
|
networkmanager.enable = true;
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
|
2024-07-28 02:49:27 -04:00
|
|
|
time = {
|
|
|
|
hardwareClockInLocalTime = true;
|
|
|
|
timeZone = "America/New_York";
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
services = {
|
|
|
|
btrfs.autoScrub.enable = true;
|
|
|
|
flatpak.enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
getty.autologinUser = "marshall";
|
2024-05-16 02:40:39 -04:00
|
|
|
gnome.gnome-keyring.enable = true;
|
|
|
|
ollama.enable = true;
|
2024-05-07 03:23:55 -04:00
|
|
|
openssh.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
spice-vdagentd.enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
udisks2.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
|
2024-05-28 04:08:06 -04:00
|
|
|
greetd = {
|
2024-05-16 02:40:39 -04:00
|
|
|
enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
settings = rec {
|
|
|
|
initial_session = {
|
|
|
|
command = "${pkgs.hyprland}/bin/Hyprland";
|
|
|
|
user = "marshall";
|
|
|
|
};
|
|
|
|
|
|
|
|
default_session = initial_session;
|
|
|
|
};
|
2024-05-16 02:40:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
libinput = {
|
|
|
|
enable = true;
|
|
|
|
touchpad.naturalScrolling = true;
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
|
|
|
|
xserver = {
|
|
|
|
enable = true;
|
|
|
|
videoDrivers = ["nvidia"];
|
|
|
|
};
|
|
|
|
|
|
|
|
pipewire = {
|
|
|
|
enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
alsa.enable = true;
|
|
|
|
alsa.support32Bit = true;
|
2024-05-07 03:23:55 -04:00
|
|
|
pulse.enable = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
users = {
|
|
|
|
mutableUsers = false;
|
|
|
|
|
|
|
|
users.marshall = {
|
|
|
|
isNormalUser = true;
|
2024-06-13 23:47:00 -04:00
|
|
|
extraGroups = ["wheel" "gamemode" "libvirtd" "qemu-libvirtd" "disk" "networkmanager"];
|
2024-05-07 03:23:55 -04:00
|
|
|
shell = fish;
|
|
|
|
hashedPasswordFile = config.age.secrets.passwd.path;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-07-28 02:49:27 -04:00
|
|
|
snowfallorg.users.marshall = {
|
|
|
|
create = true;
|
|
|
|
admin = true;
|
|
|
|
|
|
|
|
home = {
|
|
|
|
enable = true;
|
|
|
|
|
|
|
|
config = import ./home.nix {inherit lib pkgs inputs;};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
hardware = {
|
2024-05-16 02:40:39 -04:00
|
|
|
bluetooth.enable = true;
|
2024-05-28 04:08:06 -04:00
|
|
|
i2c.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
opengl = {
|
|
|
|
enable = true;
|
|
|
|
driSupport32Bit = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
extraPackages = [
|
|
|
|
vaapiVdpau
|
|
|
|
nvidia-vaapi-driver
|
|
|
|
];
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
|
2024-05-16 02:40:39 -04:00
|
|
|
nvidia-container-toolkit.enable = true;
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
nvidia = {
|
2024-05-28 04:08:06 -04:00
|
|
|
package = config.boot.kernelPackages.nvidiaPackages.beta;
|
2024-05-07 03:23:55 -04:00
|
|
|
modesetting.enable = true;
|
2024-05-16 02:40:39 -04:00
|
|
|
powerManagement.enable = true;
|
|
|
|
|
|
|
|
prime = {
|
|
|
|
sync.enable = true;
|
|
|
|
|
|
|
|
intelBusId = "PCI:0:2:0";
|
|
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
|
|
};
|
2024-05-07 03:23:55 -04:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2024-06-13 23:47:00 -04:00
|
|
|
xdg.portal.enable = true;
|
|
|
|
|
2024-05-07 03:23:55 -04:00
|
|
|
system.stateVersion = "24.05";
|
|
|
|
}
|