mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 02:53:55 -05:00
nixos/desktop: moved and cleaned up environment variables
This commit is contained in:
parent
ac9f812f25
commit
3eda802b34
2
aly.nix
2
aly.nix
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue