This commit is contained in:
Noa Aarts 2024-11-20 21:27:19 +01:00
parent 46c552076e
commit d00f06890e
Signed by: noa
GPG key ID: 1850932741EFF672
3 changed files with 6 additions and 8 deletions

View file

@ -82,14 +82,12 @@ in
'';
};
preferXdgDirectories = true;
sessionVariables = lib.mkMerge [
sessionVariables =
{
EDITOR = "nvim";
TERM = "kitty";
}
lib.mkIf
enableGraphical
{
// lib.mkIf enableGraphical {
DISPLAY = ":0";
GDK_BACKEND = "wayland,x11";
QT_QPA_PLATFORM = "wayland;xcb";
@ -98,8 +96,7 @@ in
XDG_SESSION_TYPE = "wayland";
XDG_SESSION_DESKTOP = "niri";
WLR_NO_HARDWARE_CURSORS = "1";
}
];
};
stateVersion = "23.11"; # Do not change :3
username = me.nickname;
};

View file

@ -16,6 +16,7 @@ let
name,
horizontal-resolution,
vertical-resolution,
...
}:
let
display-shader = pkgs.substituteAll {
@ -38,10 +39,10 @@ let
init-shader
state-shader
display-shader
name
tps
cycles
;
display = name;
horizontal = builtins.div horizontal-resolution horizontal-dot-size;
vertical = builtins.div vertical-resolution vertical-dot-size;
})

View file

@ -117,7 +117,7 @@ layout {
// spawn-at-startup "alacritty" "-e" "fish"
@wallpapers@
@extra@
@autostart@
// Uncomment this line to ask the clients to omit their client-side decorations if possible.
// If the client will specifically ask for CSD, the request will be honored.