-
Notifications
You must be signed in to change notification settings - Fork 5
/
common-machines.nix
46 lines (35 loc) · 977 Bytes
/
common-machines.nix
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
{ pkgs, lib, config, ... }:
let
vuizvui = (import <nixpkgs> {}).fetchFromGitHub {
owner = "openlab-aux";
repo = "vuizvui";
rev = "9e235ef0f0d48f241ec6b0bcb7b332c182c2aadf";
sha256 = "1ja2nc3q0c4il6f507mlxig5fzl3j384asnx3jb89r7jjryjm0jr";
};
vim = "${vuizvui}/modules/user/aszlig/programs/vim/default.nix";
in {
imports = [ ./common.nix vim ];
vuizvui.user.aszlig.programs.vim.enable = true;
deployment.targetEnv = lib.mkOverride 900 "hetzner";
environment.systemPackages = with pkgs; [
atop htop iotop
sysstat dstat
smartmontools
perf-tools
netrw
];
networking.extraHosts = ''
136.243.109.98 falayalaralfali
'';
services.openntpd.enable = true;
nix = {
package = pkgs.nixUnstable;
nrBuildUsers = 100;
useSandbox = true;
readOnlyStore = true;
buildCores = 0;
};
nixpkgs.config.allowUnfree = true;
hardware.cpu.intel.updateMicrocode = true;
time.timeZone = "Europe/Berlin";
}