Desktop environment base configuration (user only

This commit is contained in:
2026-04-20 11:35:38 +02:00
parent 8df205457a
commit ca77dd4b90
2 changed files with 4 additions and 17 deletions

View File

@@ -20,23 +20,10 @@ in
#services.dbus.enable = true; #services.dbus.enable = true;
#programs.dconf.enable = true; #programs.dconf.enable = true;
services.greetd = {
enable = true;
settings = {
default_session = {
command = "Hyprland";
user = profile.username;
};
};
};
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ]; extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
config.common.default = "*";
}; };
systemd.targets.sleep.enable = false;
systemd.targets.suspend.enable = false;
systemd.targets.hibernate.enable = false;
systemd.targets.hybrid-sleep.enable = false;
} }

View File

@@ -15,9 +15,9 @@ in
home.stateVersion = "25.11"; home.stateVersion = "25.11";
imports = [ imports = [
#./desktop-environment/config.nix
./terminal-environment/config.nix ./terminal-environment/config.nix
./system-environment/config.nix #./system-environment/config.nix
./desktop-environment/config.nix
]; ];
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
@@ -41,7 +41,7 @@ in
}; };
home.sessionVariables = { home.sessionVariables = {
# EDITOR = "emacs"; EDITOR = "nvim";
}; };
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.