summary refs log tree commit diff stats
path: root/satoshipad.nix
blob: 54ce5bd290605f347961885ac11a7f6f8a10d6ae (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
{ config, pkgs, ... }:

{
  imports = [
    ./hardware-configuration.nix
    ./private/default.nix

    ./modules/base.nix
    ./modules/configuration/berlin.nix
    ./modules/configuration/british-english.nix
    ./modules/configuration/nix.nix
    ./modules/configuration/user.nix
    ./modules/development/base.nix
    ./modules/development/javascript.nix
    ./modules/development/lisp.nix
    ./modules/hardware/adb.nix
    ./modules/hardware/audio.nix
    ./modules/hardware/systemd-boot.nix
    ./modules/hardware/keyboardio-model01.nix
    ./modules/hardware/network-manager.nix
    ./modules/hardware/nitrokey.nix
    ./modules/hardware/printing.nix
    ./modules/hardware/qwerty.nix
    ./modules/hardware/trackball.nix
    ./modules/machines/t470s.nix
    ./modules/programs/accounting.nix
    ./modules/programs/dotfiles.nix
    ./modules/programs/i3.nix
    ./modules/programs/infrastructure.nix
    ./modules/programs/passwords.nix
    ./modules/programs/shell.nix
    ./modules/programs/wine.nix
    ./modules/satoshipay.nix
    ./modules/services/syncthing.nix
  ];

  boot.initrd.luks.devices = [
    {
      name = "root";
      allowDiscards = true;
      device = "/dev/disk/by-uuid/bb7f9a24-8963-4d00-9258-118050b35748";
      preLVM = true;
    }
  ];

  networking.hostName = "satoshipad";

  nix.gc.dates = "12:00";
  system.autoUpgrade.dates = "12:24";

  system.stateVersion = "18.03";
}