This commit is contained in:
parent
a0575bdb2a
commit
703bf836de
210 changed files with 1 additions and 1 deletions
23
modules/owner.nix
Normal file
23
modules/owner.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
flake = {
|
||||
meta.owner = {
|
||||
email = "oliver@oliverdavies.uk";
|
||||
name = "Oliver Davies";
|
||||
username = "opdavies";
|
||||
};
|
||||
|
||||
modules = {
|
||||
nixos.pc = {
|
||||
users.users.${config.flake.meta.owner.username} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = lib.mkForce "";
|
||||
extraGroups = [ "input" ];
|
||||
};
|
||||
|
||||
nix.settings.trusted-users = [ config.flake.meta.owner.username ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue