arrregla error de .xinitrc
This commit is contained in:
parent
04a58457f8
commit
d2ff948cd8
4 changed files with 60 additions and 4 deletions
|
@ -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 ) {
|
||||
|
||||
|
|
|
@ -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 ''
|
||||
|
|
|
@ -16,8 +16,9 @@ with lib;
|
|||
};
|
||||
};
|
||||
|
||||
nixos = {
|
||||
nixos = mkOption {
|
||||
type = bool;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Reference in a new issue