tweaked home/scripts
This commit is contained in:
parent
8500c1e4a6
commit
1795a4ba02
2 changed files with 1 additions and 5 deletions
|
|
@ -54,7 +54,7 @@ in {
|
|||
defaultWorkspace = "workspace number 1";
|
||||
|
||||
## Use Wofi as menu
|
||||
menu = "${pkgs.menu}";
|
||||
menu = "menu";
|
||||
## Use kitty as default terminal
|
||||
terminal = "kitty";
|
||||
## Startup scripts and programs
|
||||
|
|
|
|||
|
|
@ -1,9 +1,6 @@
|
|||
{ pkgs, hostname, flakePath, ... }:
|
||||
|
||||
let
|
||||
nixsyu = pkgs.writeShellScriptBin "nixsyu" ''
|
||||
cd ${flakePath} && sudo nix flake update && sudo nixos-rebuild switch --upgrade-all --flake .#${hostname} --show-trace && sudo nix-collect-garbage -d && sudo nix-store --optimise
|
||||
'';
|
||||
|
||||
nixrb = pkgs.writeShellScriptBin "nixrb" ''
|
||||
cd ${flakePath} && sudo nixos-rebuild switch --flake .#${hostname} --show-trace
|
||||
|
|
@ -23,7 +20,6 @@ let
|
|||
|
||||
in {
|
||||
home.packages = [
|
||||
nixsyu
|
||||
nixrb
|
||||
nixcb
|
||||
nixgc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue