This commit is contained in:
2024-03-13 22:49:01 +00:00
parent 382f67d9dd
commit 2bbce7ec6c
5 changed files with 20 additions and 3 deletions

View File

@@ -24,7 +24,6 @@
in { in {
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.systemd-boot.enable = lib.mkDefault true;
boot.loader.efi.canTouchEfiVariables = lib.mkDefault true; boot.loader.efi.canTouchEfiVariables = lib.mkDefault true;
# nix flakes compatibility # nix flakes compatibility

View File

@@ -25,6 +25,16 @@
''; '';
}; };
boot.loader.systemd-boot.enable = false;
boot.loader.grub = {
enable = true;
device = "nodev";
useOSProber = true;
efiSupport = true;
};
time.hardwareClockInLocalTime = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
security.pam.u2f = { security.pam.u2f = {

View File

@@ -144,7 +144,6 @@ in {
sensitivity = -0.5 sensitivity = -0.5
} }
misc { misc {
disable_hyprland_logo = true disable_hyprland_logo = true
} }
@@ -165,6 +164,8 @@ in {
bind = $mainMod, D, exec, tofi-drun --drun-launch=true bind = $mainMod, D, exec, tofi-drun --drun-launch=true
bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)" bind = $mainMod SHIFT, S, exec, grim -g "$(slurp)"
bind = $mainMod SHIFT, P, exit
# Move focus with mainMod + vim keys # Move focus with mainMod + vim keys
bind = $mainMod, H, movefocus, l bind = $mainMod, H, movefocus, l
bind = $mainMod, L, movefocus, r bind = $mainMod, L, movefocus, r

View File

@@ -1,4 +1,7 @@
monitor=,preferred,auto,1.25 monitor=HDMI-A-2,3840x2160@60.0,3072x0,1.25
monitor=DP-2,3840x2160@59.997002,0x0,1.25
workspace=1,monitor:DP-2
$mainMod = CTRL + SHIFT + ALT $mainMod = CTRL + SHIFT + ALT

View File

@@ -55,6 +55,10 @@
"urgent": "", "urgent": "",
"active": "", "active": "",
"default": "" "default": ""
},
"persistent-workspaces": {
"DP-2": ["sidebar"],
"HDMI-A-2": [2,3,4,5,6]
} }
}, },
"clock": { "clock": {