aboutsummaryrefslogtreecommitdiff
path: root/systems/x86_64-linux/c-pc/default.nix
blob: 34ae3596b75f5125a3fb6176c089415c01a0fd34 (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{ lib, pkgs, namespace, ... }:

with lib; with lib.${namespace}; {
  imports = [
    ./hardware.nix
    ./network.nix
  ];

  cxl = {
    system = {
      hostname = "c-pc";
      id = "23ce94ff";
      
      impermanence.enable = true;
      impermanence.home.enable = true;

      fonts.nerdfonts = true;
      fonts.extra = with pkgs; [
        minecraftia
      ];
    };

    suites = {
      common.enable = true;
      desktop.enable = true;
      gaming.enable = true;
    };
  };

  services = {
    printing.enable = true;
    udev.enable = true;
  };

  snowfallorg.users."c" = {
    admin = true;

    home.config = {
      cxl = {
        desktop.enable = true;
        tools.git.key = "314C14641E707B68";
      };
    };
  };

  users.users = {
    root.hashedPasswordFile = "/secrets/passwords/root";
    "c".hashedPasswordFile = "/secrets/passwords/c";
  };

  system.stateVersion = "23.11";
}