Move initial Home Manager configuration
This commit is contained in:
parent
bf8e3628d0
commit
8947c4abd2
3 changed files with 60 additions and 0 deletions
19
modules2/owner.nix
Normal file
19
modules2/owner.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
flake = {
|
||||
meta.owner.username = "opdavies";
|
||||
|
||||
modules = {
|
||||
nixos.pc = {
|
||||
users.users.${config.flake.meta.owner.username} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = lib.mkForce "";
|
||||
extraGroups = [ "input" "wheel" ];
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [ config.flake.meta.owner.username ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue