h
This commit is contained in:
parent
83d9282898
commit
0d0ac80bb5
6 changed files with 38 additions and 7 deletions
BIN
assets/waybar.gif
Normal file
BIN
assets/waybar.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 163 KiB |
|
|
@ -63,7 +63,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
wifi.backend = "iwd";
|
wifi.backend = "iwd";
|
||||||
};
|
};
|
||||||
|
programs.gphoto2.enable = true;
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Australia/Perth";
|
time.timeZone = "Australia/Perth";
|
||||||
|
|
||||||
|
|
@ -146,7 +146,7 @@
|
||||||
users.users.maya = {
|
users.users.maya = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Maya";
|
description = "Maya";
|
||||||
extraGroups = [ "networkmanager" "wheel" "libvirtd" ];
|
extraGroups = [ "networkmanager" "wheel" "libvirtd" "camera" ];
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
# thunderbird
|
# thunderbird
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,12 @@
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" "sr_mod" ];
|
||||||
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
|
boot.initrd.kernelModules = [ "vfio_pci" "vfio" "vfio_iommu_type1" ];
|
||||||
boot.kernelModules = [ "kvm-intel" "vfio_virqfd" "vhost-net" ];
|
boot.kernelModules = [ "kvm-intel" "vfio_virqfd" "vhost-net" "v4l2loopback" ];
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
boot.extraModprobeConfig = "options vfio-pci ids=10de:2184,10de:1aeb,10de:1aec,10de:1aed,1b21:1242";
|
boot.extraModprobeConfig = ''
|
||||||
|
options vfio-pci ids=10de:2184,10de:1aeb,10de:1aec,10de:1aed,1b21:1242
|
||||||
|
options v4l2loopback devices=2 video_nr=1,2 card_label="OBS Cam, Virt Cam" exclusive_caps=1
|
||||||
|
'';
|
||||||
boot.blacklistedKernelModules = ["nouveau"];
|
boot.blacklistedKernelModules = ["nouveau"];
|
||||||
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "intel_iommu=on" "iommu=pt" "pcie_acs_override=downstream,multifunction" "preempt=voluntary" "module_blacklist=nouveau" ];
|
boot.kernelParams = [ "amdgpu.ppfeaturemask=0xffffffff" "intel_iommu=on" "iommu=pt" "pcie_acs_override=downstream,multifunction" "preempt=voluntary" "module_blacklist=nouveau" ];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -56,5 +56,17 @@
|
||||||
user.signingkey = "~/.ssh/id_ed25519.pub";
|
user.signingkey = "~/.ssh/id_ed25519.pub";
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = [ pkgs.xdg-desktop-portal-wlr ];
|
||||||
|
};
|
||||||
|
programs.obs-studio = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.obs-studio-plugins; [
|
||||||
|
wlrobs
|
||||||
|
obs-backgroundremoval
|
||||||
|
obs-pipewire-audio-capture
|
||||||
|
];
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,6 +37,7 @@
|
||||||
vlc
|
vlc
|
||||||
playerctl
|
playerctl
|
||||||
firefox
|
firefox
|
||||||
|
v4l-utils
|
||||||
libreoffice
|
libreoffice
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,7 @@
|
||||||
"position": "top",
|
"position": "top",
|
||||||
"modules-center": ["group/mpdg"],
|
"modules-center": ["group/mpdg"],
|
||||||
"modules-left": ["group/dtray"],
|
"modules-left": ["group/dtray"],
|
||||||
"modules-right": ["clock", "wireplumber"],
|
"modules-right": ["battery", "battery#bat1", "battery#bat2", "clock", "wireplumber"],
|
||||||
|
|
||||||
|
|
||||||
"group/dtray": {
|
"group/dtray": {
|
||||||
|
|
@ -60,5 +60,20 @@
|
||||||
"format": "{title} - {album} - {artist}",
|
"format": "{title} - {album} - {artist}",
|
||||||
"format-paused": "{title} - {album} - {artist}",
|
"format-paused": "{title} - {album} - {artist}",
|
||||||
},
|
},
|
||||||
|
"battery": {
|
||||||
|
"bat": "BAT0",
|
||||||
|
"interval": 5,
|
||||||
|
"format-icons": [" ", " ", " ", " ", " "],
|
||||||
|
"format": "{icon} {capacity}%",
|
||||||
|
"tooltip-format": "BAT0, {power}W"
|
||||||
|
},
|
||||||
|
"battery#bat1": {
|
||||||
|
"bat": "BAT1",
|
||||||
|
"tooltip-format": "BAT1, {power}W"
|
||||||
|
},
|
||||||
|
"battery#bat2": {
|
||||||
|
"bat": "BAT2",
|
||||||
|
"tooltip-format": "BAT2, {power}W"
|
||||||
|
},
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue