arrregla error de .xinitrc

This commit is contained in:
Fabián Montero 2022-11-29 17:46:55 -06:00
parent 04a58457f8
commit d2ff948cd8
4 changed files with 60 additions and 4 deletions

View file

@ -2,7 +2,12 @@
with lib;
{
imports = [ ./i3.nix ./polybar.nix ./desktop ];
imports = [
./desktop
./i3.nix
./polybar.nix
./startx.nix
];
config = mkIf ( !config.home.isolation.active ) {

View file

@ -4,7 +4,7 @@ with lib;
config = mkIf ( !config.home.isolation.active ) {
xsession.enable = true;
home.files.".xinitrc".source = let
home.file.".xinitrc".source = let
content = if config.local.nixos then ''
exec ~/.xsession
'' else ''

View file

@ -16,8 +16,9 @@ with lib;
};
};
nixos = {
nixos = mkOption {
type = bool;
};
};
}