blob: b6b998168f75313fcb4cd036c6191a758d736502 (
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
|
# Common configuration options for client machines (i.e. not servers)
{ pkgs, ... }:
{
imports = [
./hyprland.nix
./steam.nix
];
boot.supportedFilesystems = [ "ntfs" "bcachefs" ];
nixpkgs.config.allowUnfree = true;
nix.gc = {
dates = "weekly";
automatic = true;
persistent = true;
randomizedDelaySec = "15min";
};
networking = {
useNetworkd = true;
firewall = {
enable = true;
allowedTCPPorts = [ 80 443 34197 ];
};
};
services.mullvad-vpn.enable = true;
virtualisation.podman = {
enable = true;
dockerCompat = true;
autoPrune.enable = true;
};
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
};
sound.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
pulse.enable = true;
};
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
proggyfonts
(nerdfonts.override { fonts = [ "FiraCode" ]; })
overpass
inter
];
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
}
|