Add eric user

This commit is contained in:
Oliver Davies 2025-07-22 20:55:21 +01:00
parent 616d1672ae
commit 70f38ff32d
3 changed files with 24 additions and 0 deletions

16
modules/eric.nix Normal file
View file

@ -0,0 +1,16 @@
{ config, ... }:
{
flake = {
meta.eric.username = "eric";
modules = {
nixos.eric = {
users.users.${config.flake.meta.eric.username} = {
isNormalUser = true;
initialPassword = "";
};
};
};
};
}

View file

@ -2,6 +2,7 @@
{
flake.modules.nixos."nixosConfigurations/corgi".imports = with config.flake.modules.nixos; [
eric
pc
];
}

7
modules/meta-output.nix Normal file
View file

@ -0,0 +1,7 @@
{ lib, ... }:
{
options.flake.meta = lib.mkOption {
type = lib.types.anything;
};
}