global justfile
This commit is contained in:
parent
09d1587e9f
commit
6dd1207628
3 changed files with 32 additions and 20 deletions
|
|
@ -89,26 +89,6 @@
|
|||
|
||||
];
|
||||
|
||||
home.file = {
|
||||
".justfile".text = ''
|
||||
[no-cd]
|
||||
manage:
|
||||
$EDITOR ~/.config/home-manager/home.nix
|
||||
|
||||
[no-cd]
|
||||
switch:
|
||||
home-manager switch --flake ~/.config/home-manager#$USER
|
||||
|
||||
[no-cd]
|
||||
rebuild:
|
||||
sudo nixos-rebuild switch --flake "''${NIXOS_FLAKE:-/etc/nixos}#$HOSTNAME"
|
||||
|
||||
[no-cd]
|
||||
clean:
|
||||
nix-collect-garbage -d
|
||||
'';
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
# you can change the default terminal and editor here
|
||||
TERMINAL = "${pkgs.ptyxis}/bin/ptyxis";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue