mirror of
https://github.com/eRgo35/nix-config.git
synced 2026-02-04 13:46:11 +01:00
hyprland initial config
This commit is contained in:
15
home-manager/features/desktop/common/default.nix
Normal file
15
home-manager/features/desktop/common/default.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{lib, pkgs, config, ...}: {
|
||||
imports = [
|
||||
|
||||
];
|
||||
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme =
|
||||
if config.colorscheme.variant == "dark"
|
||||
then "prefer-dark"
|
||||
else if config.colorscheme.variant == "light"
|
||||
then "prefer-light"
|
||||
else "default";
|
||||
|
||||
xdg.portal.enable = true;
|
||||
|
||||
}
|
||||
29
home-manager/features/desktop/common/wayland-wm/default.nix
Normal file
29
home-manager/features/desktop/common/wayland-wm/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{pkgs, ...}: {
|
||||
imports = [];
|
||||
|
||||
xdg.mimeApps.enable = true;
|
||||
home.packages = with pkgs; [
|
||||
grim
|
||||
gtk3
|
||||
imv
|
||||
mimeo
|
||||
primary-xwayland
|
||||
pulseaudio
|
||||
slurp
|
||||
waypipe
|
||||
wf-recorder
|
||||
wl-clipboard
|
||||
wl-mirror
|
||||
wl-mirror-pick
|
||||
xdg-utils
|
||||
ydotool
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
MOZ_ENABLE_WAYLAND = 1;
|
||||
QT_QPA_PLATFORM = "wayland";
|
||||
LIBSEAT_BACKEND = "logind";
|
||||
};
|
||||
|
||||
xdg.portal.extraPortals = [pkgs.xdg-desktop-portal-wlr];
|
||||
}
|
||||
Reference in New Issue
Block a user