DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: e48b2517640d2f279cc0d3aea4ea47f79ac224fd nix-arta/ws/hosts/arwen/default.nix -rw-r--r-- 1.6 KiB
e48b2517Jonni Liljamo feat: move arwen to ws and clenup orphan modules 9 days ago
                                                                                
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
{
  config,
  inputs,
  pkgs,
  ...
}: {
  imports = [
    ./core

    ./hyprland.nix
  ];

  services.xserver.xkb.layout = "us";

  services.libinput.enable = true;

  environment.systemPackages = with pkgs; [
    inputs.nvim-flake.packages.x86_64-linux.nvim
    wget

    keepassxc
    jellyfin-mpv-shim
    libreoffice-qt6-fresh
  ];

  services.pcscd.enable = true;
  programs.gnupg.agent.enable = true;

  services.openssh.enable = true;

  sops.secrets.rootPwd.neededForUsers = true;
  sops.secrets.skyePwd.neededForUsers = true;

  roles.base = {
    root = {
      hashedPasswordFile = config.sops.secrets.rootPwd.path;
    };
    primaryUser = {
      username = "skye";
      isWheel = true;
      hashedPasswordFile = config.sops.secrets.skyePwd.path;
      extraGroups = ["video"];
    };
  };

  roles.tailscale = {
    enable = true;
    enableSSH = true;
  };

  roles.audio.enable = true;
  roles.bluetooth = {
    enable = true;
    enableHDAudio = true;
  };

  roles.git = {
    enable = true;
    enableLazygit = true;
    email = "jonni@liljamo.com";
    name = "Jonni Liljamo";
    gitExtraConfig = ''
      [sendemail]
          smtpserver = "smtp.migadu.com"
          smtpuser = "jonni@liljamo.com"
          smtpencryption = "ssl"
          smtpserverport = 465
    '';
  };

  roles.shell.enable = true;
  roles.zellij.enable = true;
  roles.kitty.enable = true;

  roles.docker.enable = true;

  roles.graphics = {
    enable = true;
    amd.enable = true;
  };

  roles.gaming = {
    enable = true;
    steam.enable = true;
  };

  roles.qutebrowser.enable = true;
}