mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-02-04 08:16:48 +05:30
Compare commits
4 Commits
87f3d1eacd
...
f71dcfb43c
| Author | SHA1 | Date | |
|---|---|---|---|
|
f71dcfb43c
|
|||
|
61f4af216e
|
|||
|
bb1dce3b3a
|
|||
|
8667f72e87
|
@@ -103,7 +103,14 @@
|
||||
kernelPackages = pkgs.linuxPackages_zen;
|
||||
supportedFilesystems = ["ntfs"];
|
||||
|
||||
initrd.systemd = {
|
||||
initrd = {
|
||||
kernelModules = [
|
||||
"vfio_pci"
|
||||
"vfio"
|
||||
"vfio_iommu_type1"
|
||||
];
|
||||
|
||||
systemd = {
|
||||
enable = lib.mkForce true;
|
||||
|
||||
services.wipe-my-fs = {
|
||||
@@ -139,6 +146,7 @@
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
loader = {
|
||||
systemd-boot = {
|
||||
@@ -393,6 +401,7 @@
|
||||
"/var/lib/docker"
|
||||
"/var/lib/waydroid"
|
||||
"/var/lib/iwd"
|
||||
"/var/lib/libvirt"
|
||||
"/etc/NetworkManager/system-connections"
|
||||
];
|
||||
files = [
|
||||
|
||||
@@ -35,6 +35,10 @@
|
||||
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
||||
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
||||
in {
|
||||
# See https://wiki.hyprland.org/Configuring/Multi-GPU
|
||||
# @TODO: use card by path instead off symlink
|
||||
env = "AQ_DRM_DEVICES,/dev/dri/card2:/dev/dri/card1";
|
||||
|
||||
#-- Output
|
||||
# See https://wiki.hyprland.org/Configuring/Monitors
|
||||
monitor = "eDP-1,2560x1440@90,0x0,1";
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
swtpm.enable = true;
|
||||
};
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
users.users.${username}.extraGroups = ["libvirtd"];
|
||||
|
||||
Reference in New Issue
Block a user