blob: 50dc3a32e334ece23f9d2211cace6835dd99af4b (
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
|
{ inputs, pkgs, ... }:
{
nixpkgs.config.allowUnfree = true;
imports =
[
./hardware-configuration.nix
../../modules/greet.nix
../../modules/virtualization.nix
../../modules/boot.nix
../../modules/audio.nix
../../modules/networking.nix
../../modules/scx.nix
../../modules/tor.nix
../../modules/hyprland.nix
../../modules/niri.nix
inputs.home-manager.nixosModules.home-manager
inputs.chaotic.nixosModules.default
];
home-manager = {
extraSpecialArgs = { inherit inputs; };
users = {
"adam" = import ../../home/home.nix;
};
backupFileExtension = "bak";
useGlobalPkgs = true;
useUserPackages = true;
};
services.spotifyd = {
enable = true;
};
programs.thunar = {
enable = true;
plugins = [
pkgs.xfce.thunar-volman
pkgs.xfce.thunar-vcs-plugins
pkgs.xfce.thunar-archive-plugin
];
};
programs.xwayland = {
enable = true;
package = pkgs.xwayland-satellite;
};
programs.kdeconnect.enable = true;
programs.coolercontrol.enable = true;
programs.gnupg.agent = {
enable = true;
enableSSHSupport = true;
pinentryPackage = pkgs.pinentry-curses;
};
programs.steam = {
enable = true;
localNetworkGameTransfers.openFirewall = true;
dedicatedServer.openFirewall = true;
remotePlay.openFirewall = false;
gamescopeSession.enable = true;
extest.enable = true;
protontricks.enable = true;
extraCompatPackages = with pkgs; [
proton-cachyos_nightly_x86_64_v4
proton-cachyos_x86_64_v4
proton-ge-custom
];
};
services.flatpak.enable = true;
hardware.cpu.amd.updateMicrocode = true;
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.sensor.iio.enable = true;
services.lact.enable = true;
environment.variables.AMD_VULKAN_ICD = "RADV";
nix.settings = {
trusted-users = [ "root" "adam" ];
experimental-features = [ "nix-command" "flakes" ];
};
hardware = {
enableRedistributableFirmware = true;
graphics = {
enable = true;
enable32Bit = true;
};
amdgpu = {
initrd.enable = true;
overdrive.enable = true;
};
};
chaotic = {
mesa-git = {
enable = true;
fallbackSpecialisation = false;
extraPackages = with pkgs; [
mesa_git.opencl
];
};
};
services.dbus.enable = true;
xdg.portal = {
enable = true;
xdgOpenUsePortal = true;
wlr = {
enable = true;
};
config = {
common = {
default = [
"gtk"
];
};
};
extraPortals = with pkgs; [
xdg-desktop-portal-gtk
];
};
time.timeZone = "Europe/Warsaw";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_TIME = "pl_PL.UTF-8";
LC_NUMERIC = "pl_PL.UTF-8";
LC_MONETARY = "pl_PL.UTF-8";
LC_PAPER = "pl_PL.UTF-8";
LC_MEASUREMENT = "pl_PL.UTF-8";
LC_COLLATE = "pl_PL.UTF-8";
LC_NAME = "pl_PL.UTF-8";
LC_ADDRESS = "pl_PL.UTF-8";
LC_TELEPHONE = "pl_PL.UTF-8";
LC_IDENTIFICATION = "pl_PL.UTF-8";
};
console = {
keyMap = "pl";
earlySetup = true;
font = "ter-v32n";
packages = with pkgs; [ terminus_font ];
};
environment.sessionVariables = {
NH_FLAKE = "/etc/nixos";
NIXOS_OZONE_WL = "1";
MOZ_ENABLE_WAYLAND = "1";
GDK_BACKEND = "wayland";
QT_QPA_PLATFORM = "wayland";
ELECTRON_ENABLE_WAYLAND = "1";
};
programs.fish.enable = true;
programs.adb.enable = true;
users.users.adam = {
isNormalUser = true;
extraGroups = [ "wheel" "input" "docker" "adbusers" ];
home = "/home/adam";
shell = pkgs.fish;
};
environment.systemPackages = with pkgs; [
kdePackages.dolphin
dbus
swaylock-effects
swayidle
helvum
fuzzel
wineWowPackages.waylandFull
winetricks
tuigreet
linux-firmware
dbus
nh
mangohud
cliphist
wl-clipboard
nix-output-monitor
nvd
rivalcfg
easyeffects
lutris
];
fonts.packages = with pkgs; [
nerd-fonts.jetbrains-mono
nerd-fonts.fira-mono
nerd-fonts.fira-code
];
system.stateVersion = "25.05";
}
|