329 current 1970-01-01 01:00:00 23.11.20240518.e7cc617 6.6.30-rt30 *

This commit is contained in:
Max Känner 2024-05-20 21:20:37 +02:00
parent 1c8ffbf289
commit d613665f5c
2 changed files with 14 additions and 18 deletions

View File

@ -22,15 +22,4 @@
# want to update the value, then make sure to first check the Home Manager
# release notes.
home.stateVersion = "23.11"; # Please read the comment before changing.
xdg.enable = true;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
programs.direnv = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
};
}

View File

@ -13,14 +13,21 @@ in {
laptop = lib.mkEnableOption "extra settings for laptop use";
};
config.myConfig = lib.mkIf cfg.enable {
shell.enable = true;
git.enable = true;
config = lib.mkIf cfg.enable {
myConfig = {
shell.enable = true;
git.enable = true;
sway.enable = lib.mkIf cfg.desktop true;
music.enable = lib.mkIf cfg.desktop true;
programs.enable = lib.mkIf cfg.desktop true;
sway.enable = lib.mkIf cfg.desktop true;
music.enable = lib.mkIf cfg.desktop true;
programs.enable = lib.mkIf cfg.desktop true;
sway.laptop = lib.mkIf cfg.laptop true;
sway.laptop = lib.mkIf cfg.laptop true;
};
xdg.enable = true;
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
};
}