blob: 10c16ead49d7c9be5af384889e6d33f610e3241a (
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
61
62
|
{ config, lib, pkgs, ... }:
{
imports = [
./common.nix
./cachix.nix
];
nix.package = pkgs.nix_2_4;
nix.extraOptions = ''
netrc-file = /home/stuebinm/Dokumente/.netrc
experimental-features = nix-command flakes
'';
virtualisation.podman.enable = true;
# Select internationalisation properties.
console = {
font = "Lat2-Terminus16";
keyMap = "de";
};
# Enable CUPS to print documents.
services.printing = {
enable = true;
drivers = [ pkgs.epson-escpr2 pkgs.epson-escpr ];
};
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
# Enable the X11 windowing system.
services.xserver.enable = true;
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e,caps:escape";
users.mutableUsers = false;
users.defaultUserShell = pkgs.fish;
users.users.stuebinm = {
isNormalUser = true;
extraGroups = [ "docker" "wheel" "networking" ];
home = "/home/stuebinm";
hashedPassword = "$6$IULsCnY7HjDHAJWs$05DYuwXsfWWKj6m3KTWCPp5k9HuQikIamNBzn2GihMG8oeEf5c8YkXlwuO6uTnX8ZFmyAQdhXfO5yYNEM/YTm0";
useDefaultShell = true;
};
services.syncthing = {
enable = true;
user = "stuebinm";
guiAddress = "syncthing.localhost:3000";
dataDir = "/home/stuebinm/syncthing";
configDir = "/home/stuebinm/syncthing/.config/syncthing";
};
networking.hosts = {
"127.0.0.1" = [ "syncthing.localhost" ];
};
}
|