]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/mermet/system.nix
xserver: switch layout with alt+space
[sourcephile-nix.git] / hosts / mermet / system.nix
1 { pkgs, lib, config, inputs, hostName, ... }:
2 let inherit (config) networking; in
3 {
4 # This value determines the NixOS release with which your system is to be
5 # compatible, in order to avoid breaking some software such as database servers.
6 # You should change this only after NixOS release notes say you should.
7 system.stateVersion = "19.09"; # Did you read the comment?
8
9 services.unbound.enable = true;
10
11 nix.gc.dates = "daily";
12 nix.gc.options = "--delete-older-than 2d";
13 nix.extraOptions = ''
14 trusted-public-keys = ${builtins.readFile (inputs.secrets + "/hosts/losurdo/nix/binary-cache-key/1.pub")}
15 substituters = https://nix-extracache.${networking.domain}
16 '';
17
18 environment.systemPackages = with pkgs; [
19 cryptsetup
20 direnv
21 file
22 fio
23 gdb
24 git
25 gptfdisk
26 #hey
27 home-manager
28 lm_sensors
29 rsync
30 smartctl-tbw
31 socat
32 thttpd
33 #iptables-nftables-compat
34 ];
35 }