mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 00:29:43 -04:00
updated
This commit is contained in:
parent
748576e17c
commit
3aad0fcc77
3 changed files with 22 additions and 18 deletions
|
|
@ -33,11 +33,11 @@
|
||||||
hardware.opengl = {
|
hardware.opengl = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport = true;
|
driSupport = true;
|
||||||
driSupport32Bit = false;
|
driSupport32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware.nvidia.open = true;
|
hardware.nvidia.open = true;
|
||||||
#
|
|
||||||
# Virtualisation
|
# Virtualisation
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -34,7 +34,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
gui = {
|
gui = {
|
||||||
wm.sway.enable = true;
|
wm.hyprland.enable = true;
|
||||||
|
|
||||||
alacritty.enable = true;
|
alacritty.enable = true;
|
||||||
browsers.enable = true;
|
browsers.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ in
|
||||||
|
|
||||||
monitor = [
|
monitor = [
|
||||||
"HDMI-A-1, 1920x1080, 0x0, 1"
|
"HDMI-A-1, 1920x1080, 0x0, 1"
|
||||||
"DP-1, 1080x1920, 1920x0, 1, transform, 1"
|
"DP-1, 1920x1080, 1920x0, 1"
|
||||||
];
|
];
|
||||||
|
|
||||||
exec-once = [
|
exec-once = [
|
||||||
|
|
@ -31,13 +31,18 @@ in
|
||||||
];
|
];
|
||||||
|
|
||||||
bind = [
|
bind = [
|
||||||
"$mod, Enter, $terminal"
|
"$mod, Return, exec, $terminal"
|
||||||
"$mod, q, killactive"
|
"$mod, q, killactive"
|
||||||
|
|
||||||
"$mod, J, swapwindow, d"
|
"$mod, J, movefocus, d"
|
||||||
"$mod, K, swapwindow, u"
|
"$mod, K, movefocus, u"
|
||||||
"$mod, H, swapwindow, l"
|
"$mod, H, movefocus, l"
|
||||||
"$mod, L, swapwindow, r"
|
"$mod, L, movefocus, r"
|
||||||
|
|
||||||
|
"$mod&SHIFT, J, movewindow, d"
|
||||||
|
"$mod&SHIFT, K, movewindow, u"
|
||||||
|
"$mod&SHIFT, H, movewindow, l"
|
||||||
|
"$mod&SHIFT, L, movewindow, r"
|
||||||
|
|
||||||
"$mod, F, fullscreen"
|
"$mod, F, fullscreen"
|
||||||
|
|
||||||
|
|
@ -72,7 +77,7 @@ in
|
||||||
|
|
||||||
input = {
|
input = {
|
||||||
kb_layout = "us";
|
kb_layout = "us";
|
||||||
follow_mouse = 0;
|
follow_mouse = 1;
|
||||||
accel_profile = "flat";
|
accel_profile = "flat";
|
||||||
sensitivity = 0.65;
|
sensitivity = 0.65;
|
||||||
};
|
};
|
||||||
|
|
@ -80,12 +85,6 @@ in
|
||||||
env = [
|
env = [
|
||||||
"HYPRCURSOR_SIZE, 24"
|
"HYPRCURSOR_SIZE, 24"
|
||||||
"GTK_THEME, Qogir"
|
"GTK_THEME, Qogir"
|
||||||
|
|
||||||
#"LIBVA_DRIVER_NAME, nvidia"
|
|
||||||
#"XDG_SESSION_TYPE, wayland"
|
|
||||||
#"GBM_BACKEND, nvidia-drm"
|
|
||||||
#"__GLX_VENDOR_LIBRARY_NAME, nvidia"
|
|
||||||
#"NVD_BACKEND, direct"
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -217,13 +216,18 @@ in
|
||||||
platformTheme.name = "gtk";
|
platformTheme.name = "gtk";
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal.enable = true;
|
xdg.portal = {
|
||||||
|
enable = true;
|
||||||
|
extraPortals = with pkgs; [
|
||||||
|
xdg-desktop-portal-hyprland
|
||||||
|
];
|
||||||
|
config.common.default = "*";
|
||||||
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
pavucontrol
|
pavucontrol
|
||||||
xdg-utils
|
xdg-utils
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
xdg-desktop-portal-hyprland
|
|
||||||
dconf
|
dconf
|
||||||
|
|
||||||
grim
|
grim
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue