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
|
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";
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue