This commit is contained in:
parent
ae079b49da
commit
15270a32ed
2 changed files with 22 additions and 0 deletions
21
modules/eric.nix
Normal file
21
modules/eric.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
{ config, lib, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
inherit (lib) mkForce;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
flake = {
|
||||||
|
meta.eric = {
|
||||||
|
name = "Eric Davies";
|
||||||
|
username = "eric";
|
||||||
|
};
|
||||||
|
|
||||||
|
modules.nixos.user-eric = {
|
||||||
|
users.users.${config.flake.meta.eric.username} = {
|
||||||
|
description = config.flake.meta.eric.name;
|
||||||
|
isNormalUser = true;
|
||||||
|
initialPassword = mkForce "";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -6,6 +6,7 @@
|
||||||
{
|
{
|
||||||
imports = with inputs.self.modules.nixos; [
|
imports = with inputs.self.modules.nixos; [
|
||||||
server-jellyfin
|
server-jellyfin
|
||||||
|
user-eric
|
||||||
];
|
];
|
||||||
|
|
||||||
homelab.services.jellyfin.enable = true;
|
homelab.services.jellyfin.enable = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue