summary refs log tree commit diff
path: root/modules/user.nix
blob: d4e9086ccc7f2c23799f07092933480be641af3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ config, pkgs, unstablePkgs, auxiliaryPkgs, ... }:

{
  age.secrets.password = {
    file = ../secrets/password.age;
  };

  users.mutableUsers = false;
  users.users.mel = {
    isNormalUser = true;
    description = "Mel";
    shell = pkgs.fish;
    extraGroups = [ "wheel" "dialout" "kvm" "networkmanager" "adbusers" "docker" ];
    hashedPasswordFile = config.age.secrets.password.path;

    # TODO: commented out pacckages are currently not available on ARM, and thus not on the
    # moissanite machine. filter them out in a better way.
    packages = (with pkgs; [
      firefox
      thunderbird
      # tor-browser
      jetbrains-toolbox
    ]) ++ (with unstablePkgs; [
      godot_4
    ]) ++ (with auxiliaryPkgs; [
      # TODO: get discord (or maybe an alternative client?) to work!
      # discord
      element-desktop
      obsidian
    ]);
  };
}