Compare commits
2 Commits
4476cdcbbc
...
34637e383a
Author | SHA1 | Date |
---|---|---|
Peder Bergebakken Sundt | 34637e383a | |
Peder Bergebakken Sundt | 0bfa6ac329 |
|
@ -47,6 +47,8 @@
|
||||||
"ildkule"
|
"ildkule"
|
||||||
];
|
];
|
||||||
in {
|
in {
|
||||||
|
inherit inputs;
|
||||||
|
|
||||||
nixosConfigurations = let
|
nixosConfigurations = let
|
||||||
unstablePkgs = nixpkgs-unstable.legacyPackages.x86_64-linux;
|
unstablePkgs = nixpkgs-unstable.legacyPackages.x86_64-linux;
|
||||||
nixosConfig = nixpkgs: name: config: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate
|
nixosConfig = nixpkgs: name: config: nixpkgs.lib.nixosSystem (nixpkgs.lib.recursiveUpdate
|
||||||
|
|
7
justfile
7
justfile
|
@ -10,5 +10,12 @@ check:
|
||||||
build-machine machine=`just _a_machine`:
|
build-machine machine=`just _a_machine`:
|
||||||
{{nom}} build .#nixosConfigurations.{{ machine }}.config.system.build.toplevel
|
{{nom}} build .#nixosConfigurations.{{ machine }}.config.system.build.toplevel
|
||||||
|
|
||||||
|
@update-inputs:
|
||||||
|
nix eval .#inputs --apply builtins.attrNames --json \
|
||||||
|
| jq '.[]' -r \
|
||||||
|
| gum choose --no-limit --height=15 \
|
||||||
|
| xargs nix flake update --commit-lock-file
|
||||||
|
|
||||||
|
|
||||||
_a_machine:
|
_a_machine:
|
||||||
nix eval .#nixosConfigurations --apply builtins.attrNames --json | jq .[] -r | gum filter
|
nix eval .#nixosConfigurations --apply builtins.attrNames --json | jq .[] -r | gum filter
|
||||||
|
|
Loading…
Reference in New Issue