refactor
This commit is contained in:
@@ -3,14 +3,14 @@
|
||||
lib,
|
||||
...
|
||||
}: let
|
||||
setWallpaperScript = import ../bin/wallpaper.nix {inherit pkgs;};
|
||||
setWallpaperScript = import ./darwin-wallpaper.nix {inherit pkgs;};
|
||||
in {
|
||||
imports = [
|
||||
./ghostty.nix
|
||||
./darwin-ghostty.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
packages = pkgs.callPackage ../packages.nix {};
|
||||
packages = pkgs.callPackage ./darwin-packages.nix {};
|
||||
activation = {
|
||||
"setWallpaper" =
|
||||
lib.hm.dag.entryAfter ["revealHomeLibraryDirectory"] ''
|
||||
@@ -7,13 +7,13 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../core.nix
|
||||
../syncthing.nix
|
||||
../tailscale.nix
|
||||
./dock
|
||||
./homebrew.nix
|
||||
./core.nix
|
||||
./syncthing.nix
|
||||
./system.nix
|
||||
./tailscale.nix
|
||||
./darwin-dock.nix
|
||||
./darwin-homebrew.nix
|
||||
./darwin-syncthing.nix
|
||||
./darwin-system.nix
|
||||
inputs.sops-nix.darwinModules.sops
|
||||
];
|
||||
|
||||
@@ -49,8 +49,8 @@
|
||||
_module.args = {inherit user constants inputs;};
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
../home/default.nix
|
||||
./home/default.nix
|
||||
./home.nix
|
||||
./darwin-home.nix
|
||||
];
|
||||
fonts.fontconfig.enable = true;
|
||||
};
|
||||
@@ -31,7 +31,7 @@
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home = {
|
||||
packages = pkgs.callPackage ../packages.nix {inherit inputs;};
|
||||
packages = pkgs.callPackage ./packages.nix {inherit inputs;};
|
||||
stateVersion = constants.stateVersions.homeManager;
|
||||
};
|
||||
}
|
||||
@@ -6,9 +6,8 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
../core.nix
|
||||
../syncthing.nix
|
||||
../tailscale.nix
|
||||
./core.nix
|
||||
./tailscale.nix
|
||||
inputs.sops-nix.nixosModules.sops
|
||||
];
|
||||
|
||||
@@ -73,8 +72,6 @@
|
||||
_module.args = {inherit user constants inputs;};
|
||||
imports = [
|
||||
inputs.nixvim.homeModules.nixvim
|
||||
../home/default.nix
|
||||
./home/default.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
@@ -1,5 +0,0 @@
|
||||
{pkgs, ...}: {
|
||||
home = {
|
||||
packages = pkgs.callPackage ../packages.nix {};
|
||||
};
|
||||
}
|
||||
@@ -4,9 +4,7 @@
|
||||
...
|
||||
}:
|
||||
with pkgs; [
|
||||
inputs.beads.packages.${pkgs.system}.default
|
||||
inputs.nix-ai-tools.packages.${pkgs.system}.amp
|
||||
(callPackage ./bin/open-project.nix {})
|
||||
(callPackage ./open-project.nix {})
|
||||
age
|
||||
alejandra
|
||||
ast-grep
|
||||
|
||||
Reference in New Issue
Block a user