nixos/desktop: moved and cleaned up environment variables

This commit is contained in:
Aly Raffauf 2024-05-12 22:00:09 -04:00
parent ac9f812f25
commit 3eda802b34
6 changed files with 6 additions and 10 deletions

View file

@ -125,7 +125,7 @@
"workspace 4: work" = [{app_id = "google-chrome";} {app_id = "chromium-browser";}];
"workspace 10: zoom" = [{class = "zoom";} {app_id = "Zoom";}];
};
wayland.windowManager.hyprland.extraConfig = ''
# Workspace - Browser
workspace = 1,defaultName:web

View file

@ -21,6 +21,8 @@
};
config = lib.mkIf config.alyraffauf.desktop.enable {
environment.sessionVariables.NIXOS_OZONE_WL = "1";
services = {
gnome.gnome-keyring.enable = true;
gvfs.enable = true; # Mount, trash, etc.

View file

@ -7,7 +7,7 @@
}: {
options = {
alyraffauf.desktop.hyprland.enable =
lib.mkEnableOption "Enable hyprland wayland compositor.";
lib.mkEnableOption "Hyprland wayland compositor.";
};
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
@ -30,7 +30,5 @@
enable = true;
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
};
}

View file

@ -32,7 +32,7 @@
accent = "mauve";
};
font.name = "NotoSansNerdFont-Regular";
font.name = "NotoSans Nerd Font Regular";
font.package = pkgs.nerdfonts.override {fonts = ["Noto"];};
cursorTheme.package = pkgs.catppuccin-cursors.frappeDark;

View file

@ -29,8 +29,6 @@
maliit-keyboard
];
environment.sessionVariables.NIXOS_OZONE_WL = "1";
programs.kdeconnect.enable = true;
# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";

View file

@ -7,7 +7,7 @@
}: {
options = {
alyraffauf.desktop.sway.enable =
lib.mkEnableOption "Enable sway wayland compositor.";
lib.mkEnableOption "Sway wayland compositor.";
};
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
@ -31,7 +31,5 @@
package = pkgs.swayfx;
};
};
environment.sessionVariables.NIXOS_OZONE_WL = "1";
};
}