Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
86a132344a
|
||
|
|
810641a7bb
|
||
|
|
425ae29c3d
|
||
|
|
6d6a93e64c
|
Generated
+73
@@ -157,6 +157,30 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"fast-nix-gc": {
|
||||||
|
"inputs": {
|
||||||
|
"nix-darwin": "nix-darwin",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"treefmt-nix": [
|
||||||
|
"treefmt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1786625301,
|
||||||
|
"narHash": "sha256-KNAjsTgfweOoqYxMAsIolrDcIV5AikvrSW9EpJ7fnK8=",
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "fast-nix-gc",
|
||||||
|
"rev": "254a2ba0a4f1570b3880bc10bb6166afe1e25936",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "fast-nix-gc",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fenix": {
|
"fenix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
@@ -461,6 +485,53 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nix-darwin": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"fast-nix-gc",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785389976,
|
||||||
|
"narHash": "sha256-0tLW8Ff5yt8AH97jw4ZpFJ0OCJ122zIlgWGDmOfU/VU=",
|
||||||
|
"owner": "nix-darwin",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"rev": "15abb8c98f336cd8bd840d71059adebabe60bf04",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-darwin",
|
||||||
|
"repo": "nix-darwin",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nix-tree-rs": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": [
|
||||||
|
"flake-parts"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"treefmt-nix": [
|
||||||
|
"treefmt"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1786373799,
|
||||||
|
"narHash": "sha256-/MGTSKLPC6uERKHyilzRCVPDeX/AwG+4B8bf1vMHAJg=",
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "nix-tree-rs",
|
||||||
|
"rev": "31d54916fa110e9462fec799f1663224baddbadd",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "Mic92",
|
||||||
|
"repo": "nix-tree-rs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixos-wsl": {
|
"nixos-wsl": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": [
|
"flake-compat": [
|
||||||
@@ -593,6 +664,7 @@
|
|||||||
"inputs": {
|
"inputs": {
|
||||||
"angrr": "angrr",
|
"angrr": "angrr",
|
||||||
"darkly": "darkly",
|
"darkly": "darkly",
|
||||||
|
"fast-nix-gc": "fast-nix-gc",
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
@@ -605,6 +677,7 @@
|
|||||||
"multiverse": "multiverse",
|
"multiverse": "multiverse",
|
||||||
"my-templates": "my-templates",
|
"my-templates": "my-templates",
|
||||||
"niri-nix": "niri-nix",
|
"niri-nix": "niri-nix",
|
||||||
|
"nix-tree-rs": "nix-tree-rs",
|
||||||
"nixos-wsl": "nixos-wsl",
|
"nixos-wsl": "nixos-wsl",
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"noctalia": "noctalia",
|
"noctalia": "noctalia",
|
||||||
|
|||||||
@@ -68,6 +68,11 @@
|
|||||||
url = "github:Bali10050/Darkly";
|
url = "github:Bali10050/Darkly";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
fast-nix-gc = {
|
||||||
|
url = "github:Mic92/fast-nix-gc";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.treefmt-nix.follows = "treefmt";
|
||||||
|
};
|
||||||
fenix = {
|
fenix = {
|
||||||
url = "github:nix-community/fenix";
|
url = "github:nix-community/fenix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -84,6 +89,12 @@
|
|||||||
url = "git+https://codeberg.org/bananad3v/niri-nix";
|
url = "git+https://codeberg.org/bananad3v/niri-nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nix-tree-rs = {
|
||||||
|
url = "github:Mic92/nix-tree-rs";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.flake-parts.follows = "flake-parts";
|
||||||
|
inputs.treefmt-nix.follows = "treefmt";
|
||||||
|
};
|
||||||
noctalia = {
|
noctalia = {
|
||||||
url = "github:noctalia-dev/noctalia-shell/v4.7.5";
|
url = "github:noctalia-dev/noctalia-shell/v4.7.5";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|||||||
+16
-5
@@ -12,12 +12,23 @@
|
|||||||
inputs.niri-nix.overlays.niri-nix
|
inputs.niri-nix.overlays.niri-nix
|
||||||
inputs.fenix.overlays.default
|
inputs.fenix.overlays.default
|
||||||
inputs.angrr.overlays.default
|
inputs.angrr.overlays.default
|
||||||
(final: prev: {
|
|
||||||
darkly-qt6 = inputs.darkly.packages.${final.stdenv.hostPlatform.system}.darkly-qt6;
|
|
||||||
|
|
||||||
noctalia-shell = inputs.noctalia.packages.${final.stdenv.hostPlatform.system}.default;
|
|
||||||
})
|
|
||||||
inputs.llm-agents.overlays.shared-nixpkgs
|
inputs.llm-agents.overlays.shared-nixpkgs
|
||||||
|
(
|
||||||
|
final: prev:
|
||||||
|
let
|
||||||
|
system = final.stdenv.hostPlatform.system;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
darkly-qt6 = inputs.darkly.packages.${system}.darkly-qt6;
|
||||||
|
|
||||||
|
noctalia-shell = inputs.noctalia.packages.${system}.default;
|
||||||
|
|
||||||
|
nix-tree-rs = inputs.nix-tree-rs.packages.${system}.default;
|
||||||
|
fast-nix-gc = inputs.fast-nix-gc.packages.${system}.default.overrideAttrs {
|
||||||
|
doCheck = false;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
)
|
||||||
];
|
];
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
flake.setNixPath = false;
|
flake.setNixPath = false;
|
||||||
|
|||||||
@@ -14,13 +14,17 @@ in
|
|||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
my.hm = {
|
my.hm = {
|
||||||
home.packages = with pkgs.llm-agents; [
|
home.packages =
|
||||||
codex
|
(with pkgs.llm-agents; [
|
||||||
|
# codex
|
||||||
claude-code
|
claude-code
|
||||||
# opencode
|
# opencode
|
||||||
pi
|
pi
|
||||||
omp
|
omp
|
||||||
];
|
])
|
||||||
|
++ (with pkgs; [
|
||||||
|
codex
|
||||||
|
]);
|
||||||
};
|
};
|
||||||
my.persist = {
|
my.persist = {
|
||||||
homeDirs = [
|
homeDirs = [
|
||||||
@@ -35,6 +39,9 @@ in
|
|||||||
|
|
||||||
".pi"
|
".pi"
|
||||||
".omp"
|
".omp"
|
||||||
|
|
||||||
|
".config/ZCode"
|
||||||
|
".zcode"
|
||||||
];
|
];
|
||||||
homeFiles = [
|
homeFiles = [
|
||||||
".claude.json"
|
".claude.json"
|
||||||
|
|||||||
@@ -28,6 +28,23 @@ in
|
|||||||
hide_env_diff = false;
|
hide_env_diff = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
stdlib = lib.mkAfter ''
|
||||||
|
if [[ -f .envrc.local && -z "$DIRENV_LOCAL_LOADED" ]]; then
|
||||||
|
export DIRENV_LOCAL_LOADED=1
|
||||||
|
log_status ".envrc.local detected, loading..."
|
||||||
|
|
||||||
|
skip_default_envrc() {
|
||||||
|
log_status "skip_default_envrc triggered, skipping .envrc"
|
||||||
|
exit 0
|
||||||
|
}
|
||||||
|
|
||||||
|
source_env .envrc.local
|
||||||
|
|
||||||
|
use() {
|
||||||
|
log_status "intercepted 'use $@' in .envrc"
|
||||||
|
}
|
||||||
|
fi
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
my.persist.homeDirs = [
|
my.persist.homeDirs = [
|
||||||
|
|||||||
@@ -30,6 +30,8 @@ in
|
|||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
nh
|
nh
|
||||||
|
nix-tree-rs
|
||||||
|
fast-nix-gc
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.etc = (
|
environment.etc = (
|
||||||
|
|||||||
Reference in New Issue
Block a user