From f23ec743728e8a12e74bc87a166816b955fae759 Mon Sep 17 00:00:00 2001 From: Sean Buckley Date: Tue, 9 Nov 2021 12:24:21 -0500 Subject: [PATCH] move update scripts --- modules/baseline.nix | 4 ---- modules/sean.nix | 4 ++++ 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/baseline.nix b/modules/baseline.nix index 2a2c24c..323ec67 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -17,10 +17,6 @@ security.sudo.extraConfig = "Defaults lecture=never"; - environment.systemPackages = map - (x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config")) - [ "switch" "build" "boot" ]; - systemd.tmpfiles.rules = [ "e /nix/var/log - - - 30d" ]; zramSwap.enable = true; diff --git a/modules/sean.nix b/modules/sean.nix index d528788..c37046d 100644 --- a/modules/sean.nix +++ b/modules/sean.nix @@ -18,4 +18,8 @@ in }; systemd.tmpfiles.rules = [ "e /home/sean/Downloads - - - 9d" ]; + + environment.systemPackages = map + (x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config")) + [ "switch" "build" "boot" ]; }