diff --git a/modules/baseline.nix b/modules/baseline.nix index 304f905..3ea8fac 100644 --- a/modules/baseline.nix +++ b/modules/baseline.nix @@ -13,6 +13,10 @@ nixpkgs.config.allowUnfree = true; environment.variables.NIXPKGS_ALLOW_UNFREE = "1"; + 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" "e /home/sean/Downloads - - - 9d" diff --git a/modules/cli.nix b/modules/cli.nix index 8451059..d09b49c 100644 --- a/modules/cli.nix +++ b/modules/cli.nix @@ -8,10 +8,6 @@ let "-git-assume-unchanged-size 0" ]; - update-cmds = map - (x: (pkgs.writeShellScriptBin "sc-${x}" "nixos-rebuild ${x} --refresh --flake github:buckley310/nixos-config")) - [ "switch" "build" "boot" ]; - system-rev = toString config.system.nixos.revision; in @@ -86,7 +82,7 @@ in echo '') - ] ++ update-cmds; + ]; environment.etc."pip.conf".text = '' [install]