Fix home-manager being gc'd and adds x11/xdg optimizations

This commit is contained in:
Emmet 2023-08-11 14:57:32 -05:00
parent eff191f7cf
commit 0ddac86a69
2 changed files with 10 additions and 1 deletions

View file

@ -77,6 +77,7 @@
zsh zsh
git git
cryptsetup cryptsetup
home-manager
]; ];
# I use zsh btw # I use zsh btw
@ -84,6 +85,14 @@
users.defaultUserShell = pkgs.zsh; users.defaultUserShell = pkgs.zsh;
programs.zsh.enable = true; programs.zsh.enable = true;
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal
pkgs.xdg-desktop-portal-gtk
];
};
# It is ok to leave this unchanged for compatibility purposes # It is ok to leave this unchanged for compatibility purposes
system.stateVersion = "22.11"; system.stateVersion = "22.11";

View file

@ -13,13 +13,13 @@
layout = "us"; layout = "us";
xkbVariant = ""; xkbVariant = "";
xkbOptions = "caps:escape"; xkbOptions = "caps:escape";
excludePackages = [ pkgs.xterm ];
windowManager.xmonad = { windowManager.xmonad = {
enable = true; enable = true;
enableContribAndExtras = true; enableContribAndExtras = true;
}; };
displayManager = { displayManager = {
lightdm.enable = true; lightdm.enable = true;
defaultSession = "none+xmonad";
sessionCommands = '' sessionCommands = ''
xset -dpms xset -dpms
xset s blank xset s blank