blob: 2d19e5bc235bae3d0b7df36c5691ead5dcaa3f88 (
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
|
{
config,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./miniflux.nix
./nginx.nix
];
boot = {
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
tmp.cleanOnBoot = true;
};
networking = {
domain = "mydadleft.me";
hostName = "atlas";
firewall.allowedTCPPorts = [config.services.prometheus.exporters.node.port];
};
nix.settings.allowed-users = ["bob"];
users.users = {
atlas = {
extraGroups = ["wheel"];
isNormalUser = true;
shell = pkgs.bash;
passwordFile = config.age.secrets.userPassword.path;
};
bob = {
isNormalUser = true;
shell = pkgs.bash;
};
};
zramSwap.enable = true;
}
|