fix flake homeConfigurations eval
This commit is contained in:
parent
28e082cd9c
commit
9924c88719
|
@ -324,12 +324,11 @@
|
|||
homeModules.micro = ./users/pbsds/modules/micro.nix;
|
||||
|
||||
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};
|
||||
modules = modules ++ [{
|
||||
home.username = user;
|
||||
home.homeDirectory = home;
|
||||
home-manager.sharedModules = [
|
||||
home = { inherit username homeDirectory; };
|
||||
imports = [
|
||||
inputs.sops-nix.homeManagerModules.sops
|
||||
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))"
|
||||
|
||||
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`:
|
||||
nix eval .#nixosReports."{{hostname}}" --json | yq . --yaml-output | bat --language yaml --style plain --paging never
|
||||
|
|
Loading…
Reference in New Issue