blob: 302d30567345db5dd58bf4fdff85356f6aff917a (
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
|
{pkgs, ...}: {
# You can import other NixOS modules here
imports = [
# If you want to use modules your own flake exports (from modules/nixos):
# outputs.nixosModules.example
# Or modules from other flakes (such as nixos-hardware):
# inputs.hardware.nixosModules.common-cpu-amd
# inputs.hardware.nixosModules.common-ssd
../general.nix
./hardware-configuration.nix
../nixosModules/powerbutton.nix
../nixosModules/docker.nix
../nixosModules/greetd.nix
./disk-config.nix
];
# from nixosModules
pbutton.disable = true;
greetd.command = "Hyprland";
programs.gamescope = {
enable = true;
capSysNice = false;
};
time.timeZone = "Europe/Moscow";
networking.hostName = "ltrr-mini";
networking.hosts = {
"127.0.0.1" = ["mr.local" "local.oneln.ru"];
"127.0.0.3" = ["local-api.oneln.ru"];
};
programs.adb.enable = true;
services.udev.packages = [
pkgs.android-udev-rules
];
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.05";
}
|