👷 build(just): Install just & write Justfile
This commit is contained in:
parent
f486bc0b9d
commit
414afef12f
2 changed files with 13 additions and 1 deletions
11
Justfile
Normal file
11
Justfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
default:
|
||||||
|
@just --list
|
||||||
|
|
||||||
|
deployhome:
|
||||||
|
home-manager switch --flake .
|
||||||
|
|
||||||
|
update:
|
||||||
|
nix flake update
|
||||||
|
|
||||||
|
updatejust this:
|
||||||
|
nix flake update {{this}}
|
|
@ -13,8 +13,9 @@
|
||||||
# Enable flakes.
|
# Enable flakes.
|
||||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||||
|
|
||||||
home.packages = [
|
home.packages = with pkgs; [
|
||||||
inputs.alejandra.defaultPackage.${system}
|
inputs.alejandra.defaultPackage.${system}
|
||||||
|
just
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
|
|
Loading…
Reference in a new issue