diff --git a/aspects/ai.nix b/aspects/ai.nix index f67bbbc..3431ddd 100644 --- a/aspects/ai.nix +++ b/aspects/ai.nix @@ -4,7 +4,7 @@ { inputs, pkgs, ... }: { environment.systemPackages = - (with pkgs; [ claude-desktop ]) + (with pkgs; [ ]) ++ (with inputs.nix-ai-tools.packages.${pkgs.system}; [ claude-code claudebox diff --git a/aspects/bluetooth.nix b/aspects/bluetooth.nix index 2027ac1..6c7b2d8 100644 --- a/aspects/bluetooth.nix +++ b/aspects/bluetooth.nix @@ -8,6 +8,9 @@ ... }: { - hardware.bluetooth.enable = true; + hardware.bluetooth = { + enable = true; + powerOnBoot = false; + }; }; } diff --git a/aspects/desktop/office.nix b/aspects/desktop/office.nix index fe41d1d..68d958a 100644 --- a/aspects/desktop/office.nix +++ b/aspects/desktop/office.nix @@ -10,6 +10,7 @@ aspellDicts.en aspellDicts.en-computers aspellDicts.pt_BR + glow papers presenterm rnote diff --git a/aspects/dev.nix b/aspects/dev.nix index 89a1026..afe9edc 100644 --- a/aspects/dev.nix +++ b/aspects/dev.nix @@ -10,14 +10,11 @@ { environment.systemPackages = with pkgs; [ android-tools - bat lazygit fd fzf - glow nixfmt nix-init - nix-output-monitor ripgrep ]; diff --git a/aspects/stylix.nix b/aspects/stylix.nix index ec3fd42..f7eb9fa 100644 --- a/aspects/stylix.nix +++ b/aspects/stylix.nix @@ -1,4 +1,5 @@ { ... }: + { flake.modules = { nixos.stylix = @@ -15,10 +16,7 @@ ... }: { - imports = [ - inputs.stylix.homeModules.stylix - inputs.zen-browser.homeModules.beta - ]; + imports = [ inputs.stylix.homeModules.stylix ]; stylix = { enable = true; @@ -65,15 +63,6 @@ terminal = 12; }; }; - targets.zen-browser = { - enable = true; - profileNames = [ "william" ]; - }; - }; - - programs.zen-browser = { - enable = true; - profiles.william = { }; }; }; }; diff --git a/aspects/users/user.nix b/aspects/users/user.nix index ad1b8ca..ca74e8d 100644 --- a/aspects/users/user.nix +++ b/aspects/users/user.nix @@ -1,4 +1,4 @@ -{ inputs, self, ... }: +{ inputs, lib, ... }: { flake = { @@ -30,37 +30,6 @@ }; modules = [ { nixpkgs.overlays = [ inputs.self.overlays.default ]; } - - # CLI aspects (common module included) - inputs.self.modules.homeManager.cli-base - inputs.self.modules.homeManager.cli-btop - inputs.self.modules.homeManager.cli-comma - inputs.self.modules.homeManager.cli-direnv - inputs.self.modules.homeManager.cli-helix - inputs.self.modules.homeManager.cli-starship - inputs.self.modules.homeManager.cli-tmux - - # Shell - inputs.self.modules.homeManager.shell-fish - inputs.self.modules.homeManager.shell-bash - - # Desktop - inputs.self.modules.homeManager.desktop-desktop - inputs.self.modules.homeManager.desktop-niri - - # Gaming - inputs.self.modules.homeManager.gaming-mangohud - - # Programs - inputs.self.modules.homeManager.programs-media # for obs-studio - - # Stylix - inputs.self.modules.homeManager.stylix - - # User-specific (from _user/) - ./_user/git.nix - - # Home configuration { home = { username = "user"; @@ -68,7 +37,17 @@ stateVersion = "22.05"; }; } - ]; + ((inputs.import-tree.initFilter (p: lib.hasSuffix ".nix" p)) ./_user) + ] + ++ (with inputs.self.modules.homeManager; [ + base # base aspect + cli # cli aspect + desktop # desktop aspect + + # other aspect + stylix + niri + ]); }; "user@io" = inputs.home-manager.lib.homeManagerConfiguration { @@ -79,31 +58,6 @@ }; modules = [ { nixpkgs.overlays = [ inputs.self.overlays.default ]; } - - # CLI aspects (common module included) - inputs.self.modules.homeManager.cli-base - inputs.self.modules.homeManager.cli-btop - inputs.self.modules.homeManager.cli-comma - inputs.self.modules.homeManager.cli-direnv - inputs.self.modules.homeManager.cli-helix - inputs.self.modules.homeManager.cli-starship - inputs.self.modules.homeManager.cli-tmux - - # Shell - inputs.self.modules.homeManager.shell-fish - inputs.self.modules.homeManager.shell-bash - - # Desktop - inputs.self.modules.homeManager.desktop-desktop - inputs.self.modules.homeManager.desktop-niri - - # Stylix - inputs.self.modules.homeManager.stylix - - # User-specific (from _user/) - ./_user/git.nix - - # Home configuration { home = { username = "user"; @@ -111,7 +65,17 @@ stateVersion = "22.05"; }; } - ]; + ((inputs.import-tree.initFilter (p: lib.hasSuffix ".nix" p)) ./_user) + ] + ++ (with inputs.self.modules.homeManager; [ + base # base aspect + cli # cli aspect + desktop # desktop aspect + + # other aspect + stylix + niri + ]); }; }; };