Add owner.nix

This commit is contained in:
Oliver Davies 2025-07-22 20:55:21 +01:00
parent a5cc5ad811
commit 7ecb185ea6
2 changed files with 23 additions and 0 deletions

2
modules/home-manager.nix Normal file
View file

@ -0,0 +1,2 @@
{
}

21
modules/owner.nix Normal file
View file

@ -0,0 +1,21 @@
{ config, ... }:
{
flake = {
meta.owner = {
username = "opdavies";
};
modules = {
nixos.pc = {
users.users.${config.flake.meta.owner.username} = {
isNormalUser = true;
initialPassword = "";
extraGroups = [ "input" "wheel" ];
};
nix.settings.trusted-users = [ config.flake.meta.owner.username ];
};
};
};
}