mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
Fix home-manager being gc'd and adds x11/xdg optimizations
This commit is contained in:
parent
eff191f7cf
commit
0ddac86a69
|
@ -77,6 +77,7 @@
|
|||
zsh
|
||||
git
|
||||
cryptsetup
|
||||
home-manager
|
||||
];
|
||||
|
||||
# I use zsh btw
|
||||
|
@ -84,6 +85,14 @@
|
|||
users.defaultUserShell = pkgs.zsh;
|
||||
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
|
||||
system.stateVersion = "22.11";
|
||||
|
||||
|
|
|
@ -13,13 +13,13 @@
|
|||
layout = "us";
|
||||
xkbVariant = "";
|
||||
xkbOptions = "caps:escape";
|
||||
excludePackages = [ pkgs.xterm ];
|
||||
windowManager.xmonad = {
|
||||
enable = true;
|
||||
enableContribAndExtras = true;
|
||||
};
|
||||
displayManager = {
|
||||
lightdm.enable = true;
|
||||
defaultSession = "none+xmonad";
|
||||
sessionCommands = ''
|
||||
xset -dpms
|
||||
xset s blank
|
||||
|
|
Loading…
Reference in a new issue