Skip to content

Commit

Permalink
imp: add portable user definition
Browse files Browse the repository at this point in the history
According to nix-community/home-manager#2161
there might be a better formal distinction between host-spaced and
portable arch-spaced hm users in the future.
  • Loading branch information
blaggacao committed Jul 14, 2021
1 parent fe73d2a commit ed9b224
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 3 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@
base = [ direnv git ];
};
};
users = {
nixos = { suites, ... }: { imports = suites.base; };
}; # digga.lib.importers.rakeLeaves ./users/hm;
};

devshell.modules = [ (import ./shell bud') ];
Expand Down
6 changes: 2 additions & 4 deletions users/nixos/default.nix
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
{ ... }:
{ hmUsers, ... }:
{
home-manager.users.nixos = { suites, ... }: {
imports = suites.base;
};
home-manager.users = { inherit (hmUsers) nixos };

users.users.nixos = {
uid = 1000;
Expand Down

0 comments on commit ed9b224

Please sign in to comment.