zaphyra's git: nixfiles

zaphyra's nixfiles

commit 6cb8d346701f6f0a67c40da57ec8193f0c7e9f62
parent 9d4fe3ffc43440b535e656155a889a749426b2ed
Author: Katja Ramona Sophie Kwast (zaphyra) <git@zaphyra.eu>
Date: Thu, 24 Jul 2025 21:51:33 +0200

config/nixos/modules/users: remove `void`
1 file changed, 0 insertions(+), 65 deletions(-)
D
config/nixos/modules/users/void.nix
|
65
-----------------------------------------------------------------
diff --git a/config/nixos/modules/users/void.nix b/config/nixos/modules/users/void.nix
@@ -1,65 +0,0 @@
-{
-  inputs,
-  povSelf,
-  config,
-  lib,
-  homeManagerModules,
-  ...
-}:
-let
-  inherit (lib) types;
-  cfg = lib.getAttrFromPath povSelf config;
-
-in
-{
-
-  options.enable = {
-    type = types.bool;
-    default = false;
-  };
-
-  config = lib.mkIf cfg.enable (
-    lib.mkMerge [
-      {
-        sops.secrets.voidPassword = {
-          neededForUsers = true;
-          sopsFile = inputs.self.sopsSecrets.common;
-        };
-
-        users.users.void = {
-          uid = 1000;
-          description = "Hannah";
-          hashedPasswordFile = config.sops.secrets.voidPassword.path;
-          isNormalUser = true;
-          extraGroups = [
-            "audio"
-            "dialout"
-            "docker"
-            "input"
-            "networkmanager"
-            "ssh"
-            "tss"
-            "video"
-            "wheel"
-          ];
-          openssh.authorizedKeys.keys = [
-            "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOFsnTwRtKRrn2KqbkTvXgwZniD1p90A7iqvQduhoDL6 openpgp:0x03F32AB3"
-          ];
-        };
-      }
-
-      (lib.mkIf config.modules.homeManager.enable {
-        home-manager.users.void.imports = lib.concatLists [
-          [
-            homeManagerModules.void.home
-          ]
-
-          (lib.optionals config.modules.filesystem.impermanence.home.enable [
-            #homeManagerModules.void.impermanence # FIXME: implement impermanence
-          ])
-        ];
-      })
-    ]
-  );
-
-}