DEVELOPMENT ENVIRONMENT

~liljamo/nix-arta

ref: 8c36e1a019c5bde84a09768918dd4d3ff2432db5 nix-arta/modules/hosts/ws/alice/_nixos/default.nix -rw-r--r-- 725 bytes
8c36e1a0Jonni Liljamo feat: alice initial 3 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
{
  lib,
  pkgs,
  ...
}: {
  imports = [
    ./hardware-configuration.nix
    ./impermanence.nix
    ./not-managed-by-modules-yet.nix
  ];

  boot.kernelPackages = pkgs.linuxPackages_6_17;

  boot.initrd.postResumeCommands = lib.mkAfter ''
    zfs rollback -r zpool/root@blank
  '';

  sops.defaultSopsFile = ../../../../../secrets/alice/secrets.yaml;
  sops.gnupg.sshKeyPaths = ["/persist/etc/ssh/ssh_host_rsa_key"];
  sops.age.sshKeyPaths = ["/persist/etc/ssh/ssh_host_ed25519_key"];

  networking.hostId = "bc56f04f";
  networking.networkmanager.enable = true;
  # TODO: FIXME: make global setting maybe
  networking.nameservers = ["100.80.2.3"];

  time.timeZone = "Europe/Helsinki";

  system.stateVersion = "24.05";
}