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;
|
kernelPackages = pkgs.linuxPackages_zen;
|
||||||
supportedFilesystems = ["ntfs"];
|
supportedFilesystems = ["ntfs"];
|
||||||
|
|
||||||
initrd.systemd = {
|
initrd = {
|
||||||
|
kernelModules = [
|
||||||
|
"vfio_pci"
|
||||||
|
"vfio"
|
||||||
|
"vfio_iommu_type1"
|
||||||
|
];
|
||||||
|
|
||||||
|
systemd = {
|
||||||
enable = lib.mkForce true;
|
enable = lib.mkForce true;
|
||||||
|
|
||||||
services.wipe-my-fs = {
|
services.wipe-my-fs = {
|
||||||
@@ -139,6 +146,7 @@
|
|||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
loader = {
|
loader = {
|
||||||
systemd-boot = {
|
systemd-boot = {
|
||||||
@@ -393,6 +401,7 @@
|
|||||||
"/var/lib/docker"
|
"/var/lib/docker"
|
||||||
"/var/lib/waydroid"
|
"/var/lib/waydroid"
|
||||||
"/var/lib/iwd"
|
"/var/lib/iwd"
|
||||||
|
"/var/lib/libvirt"
|
||||||
"/etc/NetworkManager/system-connections"
|
"/etc/NetworkManager/system-connections"
|
||||||
];
|
];
|
||||||
files = [
|
files = [
|
||||||
|
|||||||
@@ -35,6 +35,10 @@
|
|||||||
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
spotify = "wezterm start --class wezterm-floating -e spotify_player";
|
||||||
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
filemanager = "wezterm start --class wezterm-floating -e superfile";
|
||||||
in {
|
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
|
#-- Output
|
||||||
# See https://wiki.hyprland.org/Configuring/Monitors
|
# See https://wiki.hyprland.org/Configuring/Monitors
|
||||||
monitor = "eDP-1,2560x1440@90,0x0,1";
|
monitor = "eDP-1,2560x1440@90,0x0,1";
|
||||||
|
|||||||
@@ -10,6 +10,7 @@
|
|||||||
swtpm.enable = true;
|
swtpm.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
spiceUSBRedirection.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
users.users.${username}.extraGroups = ["libvirtd"];
|
users.users.${username}.extraGroups = ["libvirtd"];
|
||||||
|
|||||||
Reference in New Issue
Block a user