[user module] actually call the module
Some checks failed
Check flake syntax / flake-check (push) Failing after 2m1s

and fix some issues
This commit is contained in:
ahtlon
2025-01-28 12:39:05 +01:00
parent fdb9980176
commit eb61088dc9
3 changed files with 7 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
{config, lib, pkgs, ...}:
{config, lib, pkgs, inputs, ...}:
let
cfg = config.malobeo.users;
sshKeys = import ../ssh_keys.nix;
sshKeys = import ( inputs.self + /machines/ssh_keys.nix);
in
{
options.malobeo.users = {
@@ -21,7 +21,7 @@ in
environment.systemPackages = with pkgs; [];
})
(lib.mkIf cfg.admin {
users.user.admin = {
users.users.admin = {
isNormalUser = true;
description = "admin user, passwordless sudo access, only ssh";
hashedPassword = null;