Add eric user
This commit is contained in:
parent
616d1672ae
commit
70f38ff32d
3 changed files with 24 additions and 0 deletions
16
modules/eric.nix
Normal file
16
modules/eric.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
flake = {
|
||||
meta.eric.username = "eric";
|
||||
|
||||
modules = {
|
||||
nixos.eric = {
|
||||
users.users.${config.flake.meta.eric.username} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
{
|
||||
flake.modules.nixos."nixosConfigurations/corgi".imports = with config.flake.modules.nixos; [
|
||||
eric
|
||||
pc
|
||||
];
|
||||
}
|
||||
|
|
7
modules/meta-output.nix
Normal file
7
modules/meta-output.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ lib, ... }:
|
||||
|
||||
{
|
||||
options.flake.meta = lib.mkOption {
|
||||
type = lib.types.anything;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue