Desktop environment base configuration (user only
This commit is contained in:
@@ -20,23 +20,10 @@ in
|
||||
#services.dbus.enable = true;
|
||||
#programs.dconf.enable = true;
|
||||
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
default_session = {
|
||||
command = "Hyprland";
|
||||
user = profile.username;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
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;
|
||||
}
|
||||
|
||||
6
home.nix
6
home.nix
@@ -15,9 +15,9 @@ in
|
||||
home.stateVersion = "25.11";
|
||||
|
||||
imports = [
|
||||
#./desktop-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
|
||||
@@ -41,7 +41,7 @@ in
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
# EDITOR = "emacs";
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
# Let Home Manager install and manage itself.
|
||||
|
||||
Reference in New Issue
Block a user