fix flake homeConfigurations eval
This commit is contained in:
parent
28e082cd9c
commit
9924c88719
|
@ -324,12 +324,11 @@
|
||||||
homeModules.micro = ./users/pbsds/modules/micro.nix;
|
homeModules.micro = ./users/pbsds/modules/micro.nix;
|
||||||
|
|
||||||
homeConfigurations = forAllSystems ({ system, ... }: let
|
homeConfigurations = forAllSystems ({ system, ... }: let
|
||||||
mkHome = user: home: inputs: modules: inputs.home-manager.lib.homeManagerConfiguration {
|
mkHome = username: homeDirectory: inputs: modules: inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
modules = modules ++ [{
|
modules = modules ++ [{
|
||||||
home.username = user;
|
home = { inherit username homeDirectory; };
|
||||||
home.homeDirectory = home;
|
imports = [
|
||||||
home-manager.sharedModules = [
|
|
||||||
inputs.sops-nix.homeManagerModules.sops
|
inputs.sops-nix.homeManagerModules.sops
|
||||||
inputs.nix-index-database.hmModules.nix-index
|
inputs.nix-index-database.hmModules.nix-index
|
||||||
];
|
];
|
||||||
|
|
2
justfile
2
justfile
|
@ -4,7 +4,7 @@ export GUM_FILTER_HEIGHT := "15"
|
||||||
just "$(gum filter --placeholder "Pick a recipie..." $(just --summary --unsorted))"
|
just "$(gum filter --placeholder "Pick a recipie..." $(just --summary --unsorted))"
|
||||||
|
|
||||||
eval hostname=`just _a_host`:
|
eval hostname=`just _a_host`:
|
||||||
nix eval .#nixosConfigurations."{{hostname}}".config.system.build.toplevel.outPath
|
nix eval .#nixosConfigurations."{{hostname}}".config.system.build.toplevel.outPath --show-trace
|
||||||
|
|
||||||
report hostname=`just _a_host`:
|
report hostname=`just _a_host`:
|
||||||
nix eval .#nixosReports."{{hostname}}" --json | yq . --yaml-output | bat --language yaml --style plain --paging never
|
nix eval .#nixosReports."{{hostname}}" --json | yq . --yaml-output | bat --language yaml --style plain --paging never
|
||||||
|
|
Loading…
Reference in New Issue