blob: 01380486590b775cdcc1759909c13dc7c18cf776 (
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
|
{
flake.modules.nixos.sachiel =
{
pkgs,
...
}:
{
boot.tmp.cleanOnBoot = true;
boot.loader.grub.configurationLimit = 2;
zramSwap.enable = true;
swapDevices = [
{
device = "/var/swapfile";
size = 4096;
}
];
networking = {
hostName = "sachiel";
domain = "schererleander.de";
};
time.timeZone = "UTC";
users.users.root.hashedPassword = "!";
users.mutableUsers = false;
users.users.administrator = {
isNormalUser = true;
hashedPassword = "$6$KBblJguEyfEmuWnU$Xf0QqPVacA2qvnzZRpnSE2cmh0kNnMgtVhCrMEDI76buNzuzkuDY6EnO7jPjQlEnoczx6ZPAl2pK.SxezbVa..";
extraGroups = [ "wheel" ];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPvlkqlvY4+0o7UIGnFnnRw0HeBq5v7wYJ3kY3teXxxl vps"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINL+r0l2i07pl9V9iiGqw5e2f/QAcrMhuraA25HavdNT github-deploy"
];
};
environment.systemPackages = with pkgs; [
git
gnutar
gzip
zoxide
neovim
htop
];
nixpkgs.config.allowUnfree = true;
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "25.05";
};
}
|