aboutsummaryrefslogtreecommitdiffstats
path: root/users/hanna/nixos.nix
blob: c14b86e51f1adb57dd0c86acaa722d26232d6b12 (plain) (blame)
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ config, lib, pkgs, profile, ... }:

{
  imports = [
    ./configs/steam.nix
  ];

  users.users.hanna = {
    home = "/home/hanna";
    isNormalUser = true;
    shell = pkgs.zsh;

    autoSubUidGidRange = true;

    packages = with pkgs; [
      starship
      claude
      direnv
      bat
      lsr
    ] ++ (lib.optionals (profile == "nixos") [
      bitwarden-desktop
      signal-desktop
      zed-editor.fhs
      prismlauncher
      vintagestory
      spotifast
      discord
      helium
      delta
    ]) ++ (lib.optionals config.services.desktopManager.gnome.enable [
      gnomeExtensions.rounded-window-corners-reborn
      gnomeExtensions.dash-to-dock
      colloid-icon-theme
      capitaine-cursors
      adw-gtk3
    ]);
  };

  hjem.users.hanna = {
    enable = true;

    imports = [
      ./configs/starship.nix
      ./configs/ghostty.nix
      ./configs/gtk-3.0.nix
      ./configs/direnv.nix
      ./configs/claude.nix
      ./configs/helix.nix
      ./configs/zsh.nix
      ./configs/npm.nix
      ./configs/git.nix
      ./configs/bat.nix
      ./configs/xdg.nix
      ./configs/zed.nix
    ];
  };
}