blob: 3ddcca12a04a1574702a75e23055697003fbc95f (
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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
{
config,
lib,
pkgs,
...
}:
{
imports = [
./hardware.nix
./devices.nix
./specimen.nix
];
nix.settings.experimental-features = [
"flakes"
"nix-command"
];
networking.hostName = "specimen";
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
users.mutableUsers = false;
users.users = {
mel = {
isNormalUser = true;
extraGroups = [ "wheel" ];
hashedPassword = "$y$j9T$ieEl5QNLNw/WwPlo8ltbW0$gFxLCTnPgalTvyEbElxrhSH49wrAOUAdjdVjw1NLtsC";
};
philip = {
isNormalUser = true;
extraGroups = [ "wheel" ];
hashedPassword = "$y$j9T$05voM5wlmF6HSrvOJ4Jtn1$fhAq/k2W6NYydFcwK/LiKGrRz/1NLM7MRUAGNrzy2e/";
};
};
environment.systemPackages = with pkgs; [
vim
git
wget
agenix
];
services.openssh = {
enable = true;
settings = {
# i would disable this, but i don't know the ssh keys for all accounts :)
PasswordAuthentication = true;
AllowUsers = [
"mel"
"philip"
];
PermitRootLogin = "no";
};
};
system.stateVersion = "24.11";
}
|