aboutsummaryrefslogtreecommitdiff
path: root/hosts/mercury/nixos.nix
blob: 8052bb1ca3a60fc1c7fd6009053e354a0c105073 (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
{
  lib,
  inputs,
  ...
}: {
  imports = [
    ./disks.nix
    ./battery.nix
    ./ai.nix

    inputs.nixos-facter-modules.nixosModules.facter
    inputs.lanzaboote.nixosModules.lanzaboote
  ];

  facter.reportPath = ./facter.json;

  services.syncthing = {
    enable = true;
    user = "collin";
    dataDir = "/home/collin/.local/syncthing";
  };

  services.printing.enable = true;

  environment.defaultPackages = lib.mkForce []; # im not a noob

  # programs.firefox.policies.Preferences.ExtensionSettings = {

  # };

  programs.ssh.extraConfig = ''
    Host ganymede
      HostName 70.130.121.193
      User collin
      IdentityFile /home/collin/.ssh/id_ed25519
      LocalForward 8015 127.0.0.1:8015
  '';
}