aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKumar Damani <me@kumardamani.net>2023-09-22 20:03:28 +0000
committerKumar Damani <me@kumardamani.net>2023-09-22 20:03:28 +0000
commit4888a84e8e48af6276ab09d2446542106d5f69fd (patch)
tree58be53c0af636b4a95d42132156420778ddd5858
parent5b3a1f303a5455cd311636482405ebeef68500c7 (diff)
routine updates
-rw-r--r--nixpkgs/.config/nixpkgs/per-user/kdam0-home/configuration.nix1
-rw-r--r--nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix2
2 files changed, 2 insertions, 1 deletions
diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/configuration.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/configuration.nix
index 8fa8c97..4bf5557 100644
--- a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/configuration.nix
+++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/configuration.nix
@@ -117,6 +117,7 @@
system.stateVersion = "23.05"; # Did you read the comment?
nix.settings.experimental-features = ["nix-command" "flakes"];
+ nix.settings.auto-optimise-store = true;
#xdg.portal = {
# enable = true;
diff --git a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix
index 8727b54..9ca47e5 100644
--- a/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix
+++ b/nixpkgs/.config/nixpkgs/per-user/kdam0-home/home.nix
@@ -20,7 +20,7 @@
clsp = "nvim ~/.config/nixpkgs/common/nvim/plugins/lspconfig.lua";
cnix = "nvim ~/.config/nixpkgs/per-user/kdam0-home/configuration.nix";
up = "sudo nixos-rebuild switch";
- clean = "sudo nix-collect-garbage -d";
+ clean = "sudo nix-collect-garbage -d && nix-collect-garbage -d";
search = "nix search nixpkgs $@";
conf = "ranger ~/.config/nixpkgs/common/";
};