mirror of
https://github.com/Cian-H/My_NixOS_Config.git
synced 2026-05-03 20:21:42 +01:00
Added nix-helper to config
This commit is contained in:
@@ -17,5 +17,8 @@
|
||||
unstablePkgs.lazygit
|
||||
unstablePkgs.nixd
|
||||
unstablePkgs.nushell
|
||||
unstablePkgs.nh
|
||||
unstablePkgs.nix-output-monitor
|
||||
unstablePkgs.nvd
|
||||
];
|
||||
}
|
||||
|
||||
@@ -35,7 +35,6 @@ in {
|
||||
pkgs.minikube
|
||||
unstablePkgs.mission-center
|
||||
pkgs.neovide
|
||||
pkgs.nix-output-monitor
|
||||
pkgs.nix-tree
|
||||
pkgs.nh
|
||||
pkgs.nodejs_24
|
||||
|
||||
@@ -9,4 +9,11 @@
|
||||
imports = [
|
||||
./programs/neovim.nix
|
||||
];
|
||||
|
||||
programs.nh = {
|
||||
enable = true;
|
||||
clean.enable = true;
|
||||
clean.extraArgs = "--keep-since 7d --keep 5";
|
||||
flake = "/home/cianh/.config/nix";
|
||||
};
|
||||
}
|
||||
|
||||
@@ -106,11 +106,6 @@
|
||||
nix = {
|
||||
registry = (lib.mapAttrs (_: flake: {inherit flake;})) ((lib.filterAttrs (_: lib.isType "flake")) inputs);
|
||||
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
|
||||
gc = {
|
||||
automatic = true;
|
||||
dates = "daily";
|
||||
options = "--delete-older-than 14d";
|
||||
};
|
||||
settings = {
|
||||
experimental-features = "nix-command flakes";
|
||||
auto-optimise-store = true;
|
||||
|
||||
Reference in New Issue
Block a user