thinknix: enable guest user as a module
Introduce a guest user module that sets up a guest user with the default desktop home packages through the home-manager NixOS module. Enabled on thinknix.
This commit is contained in:
parent
8911511edc
commit
83858d6d11
4 changed files with 77 additions and 1 deletions
|
@ -59,7 +59,13 @@
|
|||
flake-inputs = inputs;
|
||||
};
|
||||
};
|
||||
defaultModules = system: [ inputInjection ];
|
||||
defaultModules = system: [
|
||||
inputInjection
|
||||
|
||||
# for some reason, `imports`-ing the home-manager module via inputInjection
|
||||
# from a sub-module causes infinite recursion, so importing it here instead
|
||||
home-manager.nixosModules.home-manager
|
||||
];
|
||||
mkSystem =
|
||||
system: extraModules:
|
||||
nixpkgs.lib.nixosSystem rec {
|
||||
|
@ -115,6 +121,7 @@
|
|||
modules = [
|
||||
./darwin/configuration.nix
|
||||
inputInjection
|
||||
|
||||
];
|
||||
};
|
||||
homeConfigurations = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue