mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-25 13:11:55 -05:00
nixos/desktop: moved and cleaned up environment variables
This commit is contained in:
parent
ac9f812f25
commit
3eda802b34
|
@ -21,6 +21,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.desktop.enable {
|
config = lib.mkIf config.alyraffauf.desktop.enable {
|
||||||
|
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
gnome.gnome-keyring.enable = true;
|
gnome.gnome-keyring.enable = true;
|
||||||
gvfs.enable = true; # Mount, trash, etc.
|
gvfs.enable = true; # Mount, trash, etc.
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
alyraffauf.desktop.hyprland.enable =
|
alyraffauf.desktop.hyprland.enable =
|
||||||
lib.mkEnableOption "Enable hyprland wayland compositor.";
|
lib.mkEnableOption "Hyprland wayland compositor.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
|
config = lib.mkIf config.alyraffauf.desktop.hyprland.enable {
|
||||||
|
@ -30,7 +30,5 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -32,7 +32,7 @@
|
||||||
accent = "mauve";
|
accent = "mauve";
|
||||||
};
|
};
|
||||||
|
|
||||||
font.name = "NotoSansNerdFont-Regular";
|
font.name = "NotoSans Nerd Font Regular";
|
||||||
font.package = pkgs.nerdfonts.override {fonts = ["Noto"];};
|
font.package = pkgs.nerdfonts.override {fonts = ["Noto"];};
|
||||||
|
|
||||||
cursorTheme.package = pkgs.catppuccin-cursors.frappeDark;
|
cursorTheme.package = pkgs.catppuccin-cursors.frappeDark;
|
||||||
|
|
|
@ -29,8 +29,6 @@
|
||||||
maliit-keyboard
|
maliit-keyboard
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
|
|
||||||
programs.kdeconnect.enable = true;
|
programs.kdeconnect.enable = true;
|
||||||
# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
|
# nixpkgs.config.firefox.enablePlasmaBrowserIntegration = true;
|
||||||
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
|
# nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland --enable-features=WaylandWindowDecorations --ozone-platform-hint=auto";
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
}: {
|
}: {
|
||||||
options = {
|
options = {
|
||||||
alyraffauf.desktop.sway.enable =
|
alyraffauf.desktop.sway.enable =
|
||||||
lib.mkEnableOption "Enable sway wayland compositor.";
|
lib.mkEnableOption "Sway wayland compositor.";
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
|
config = lib.mkIf config.alyraffauf.desktop.sway.enable {
|
||||||
|
@ -31,7 +31,5 @@
|
||||||
package = pkgs.swayfx;
|
package = pkgs.swayfx;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue