DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 9015e3da9408355bcec2d97c876f84c294429bd2 nix-arta/modules/users/skye.nix -rw-r--r-- 349 bytes
9015e3daJonni Liljamo flake: add disko 2 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
let
  username = "skye";
in {
  flake.modules.nixos.${username} = {config, ...}: {
    sops.secrets."${username}Pwd".neededForUsers = true;

    users.users.${username} = {
      isNormalUser = true;
      extraGroups = ["wheel"];
      home = "/home/${username}";
      hashedPasswordFile = config.sops.secrets."${username}Pwd".path;
    };
  };
}