summaryrefslogtreecommitdiff
path: root/nixos/profiles/workstation/default.nix
blob: 3be5c6c1dca9483c64b589a9a7a56368604d1c94 (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
{ config, pkgs, ... }:

let
  npins = import ../../npins;
in
{
  imports = [
    ../common
    <top/shared/basics-physical.nix>
    ./graphical.nix
    ./dev.nix
    ./create.nix
  ];

  environment.systemPackages = [
    pkgs.npins
    (pkgs.callPackage "${npins.agenix}/pkgs/agenix.nix" {})
  ];

  environment.sessionVariables = {
    # Tell .zshrc to source zshrc-workstation.sh.
    MYNIX_PROFILE = "workstation";
  };

  # Age defaults to this anyway when openssh is enabled.
  # We're setting this here for workstations where openssh is disabled.
  age.identityPaths = ["/etc/ssh/ssh_host_ed25519_key"];
}