From 597859aabd809b4ebf9a9084e5f736096ca397df Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Fri, 19 Apr 2024 14:17:41 -0400 Subject: [PATCH] add zsh-nix-shell plugin, extend palatine-hill gc Signed-off-by: ahuston-0 --- systems/palatine-hill/configuration.nix | 2 ++ users/alice/home/zsh.nix | 4 ++-- users/alice/systems/artemision/configuration.nix | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/systems/palatine-hill/configuration.nix b/systems/palatine-hill/configuration.nix index 8c46094..706e307 100644 --- a/systems/palatine-hill/configuration.nix +++ b/systems/palatine-hill/configuration.nix @@ -223,6 +223,8 @@ in system.autoUpgrade.flake = "github:ahuston-0/nix-dotfiles-hydra"; + gc.options = "--delete-older-than 150d"; + sops = { defaultSopsFile = ./secrets.yaml; secrets = diff --git a/users/alice/home/zsh.nix b/users/alice/home/zsh.nix index f89c4ee..05c91d7 100644 --- a/users/alice/home/zsh.nix +++ b/users/alice/home/zsh.nix @@ -1,4 +1,4 @@ -{ pkg, ... }: +{ pkgs, ... }: { programs.zsh = { @@ -24,7 +24,7 @@ { name = "zsh-nix-shell"; file = "nix-shell.plugin.zsh"; - src = pkg.fetchFromGitHub { + src = pkgs.fetchFromGitHub { owner = "chisui"; repo = "zsh-nix-shell"; rev = "v0.8.0"; diff --git a/users/alice/systems/artemision/configuration.nix b/users/alice/systems/artemision/configuration.nix index 8c2dcce..71fc1b1 100644 --- a/users/alice/systems/artemision/configuration.nix +++ b/users/alice/systems/artemision/configuration.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { imports = [ ../configuration.nix