Merge branch 'master' of ssh://git.nx2.site:20022/nx2/dotfiles
This commit is contained in:
@@ -30,28 +30,28 @@ in
|
|||||||
};
|
};
|
||||||
security.polkit.enable = true;
|
security.polkit.enable = true;
|
||||||
} else if host == "NxXPS" then {
|
} else if host == "NxXPS" then {
|
||||||
boot.loader.grub = {
|
boot = {
|
||||||
enable = true;
|
loader = {
|
||||||
configurationLimit = 30;
|
efi.canTouchEfiVariables = true;
|
||||||
device = "nodev";
|
grub = {
|
||||||
# useOSProber = true;
|
enable = true;
|
||||||
efiSupport = true;
|
configurationLimit = 30;
|
||||||
theme = grub-theme-ascii-diana;
|
device = "nodev";
|
||||||
font = "${grub-theme-ascii-diana}/unicode.pf2";
|
# useOSProber = true;
|
||||||
fontSize = 50;
|
efiSupport = true;
|
||||||
# splashImage = null;
|
theme = grub-theme-ascii-diana;
|
||||||
|
font = "${grub-theme-ascii-diana}/unicode.pf2";
|
||||||
|
fontSize = 50;
|
||||||
efi.canTouchEfiVariables = true;
|
extraEntries = ''
|
||||||
extraEntries = ''
|
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-0A97-7A2D' {
|
||||||
menuentry 'Windows 11' --class windows --class os $menuentry_id_option 'osprober-efi-0A97-7A2D' {
|
insmod part_gpt
|
||||||
insmod part_gpt
|
insmod fat
|
||||||
insmod fat
|
search --no-floppy --fs-uuid --set=root 0A97-7A2D
|
||||||
search --no-floppy --fs-uuid --set=root 0A97-7A2D
|
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
||||||
chainloader /EFI/Microsoft/Boot/bootmgfw.efi
|
}
|
||||||
}
|
'';
|
||||||
'';
|
};
|
||||||
|
};
|
||||||
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
kernelModules = [ "v4l2loopback" ];
|
kernelModules = [ "v4l2loopback" ];
|
||||||
extraModprobeConfig = ''options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1'';
|
extraModprobeConfig = ''options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1'';
|
||||||
|
|||||||
Reference in New Issue
Block a user