diff options
| author | Quentin Aristote <quentin@aristote.fr> | 2023-02-17 21:22:14 +0100 |
|---|---|---|
| committer | Quentin Aristote <quentin@aristote.fr> | 2023-02-17 21:24:35 +0100 |
| commit | 1fdbb44df1c3b8c0bab9e36cee3e8167e102efc3 (patch) | |
| tree | 210b87b2addd1cc16f06f5646276215841a30622 /modules/nixos/user.nix | |
| parent | 262ad5ace2500d97ee3015aee7655f5893801153 (diff) | |
add filtron and rss-bridge modules
Diffstat (limited to 'modules/nixos/user.nix')
| -rw-r--r-- | modules/nixos/user.nix | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/modules/nixos/user.nix b/modules/nixos/user.nix deleted file mode 100644 index 0d1585e..0000000 --- a/modules/nixos/user.nix +++ /dev/null @@ -1,22 +0,0 @@ -{ config, lib, ... }: - -let cfg = config.personal.user; -in { - options.personal.user = { - enable = lib.mkEnableOption "main user"; - name = lib.mkOption { - type = lib.types.str; - default = "qaristote"; - }; - }; - - config.users.users."${cfg.name}" = lib.mkIf cfg.enable { - isNormalUser = true; - extraGroups = [ "wheel" ] ++ lib.optional config.sound.enable "sound" - ++ lib.optional config.networking.networkmanager.enable "networkmanager"; - openssh.authorizedKeys.keys = [ - "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIK4wGbl3++lqCjLUhoRyABBrVEeNhIXYO4371srkRoyq qaristote@latitude-7490" - ]; - - }; -} |
