2024-12-17 12:10:05 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stateVersion ? null,
|
|
|
|
userName,
|
|
|
|
True,
|
|
|
|
False,
|
|
|
|
...
|
|
|
|
}:
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./parts
|
|
|
|
../../modules/nixos
|
|
|
|
];
|
2024-11-21 09:24:15 +00:00
|
|
|
module = {
|
|
|
|
theme.stylix = True;
|
|
|
|
# HARDWARE MODULES
|
|
|
|
hardware = {
|
|
|
|
bluetooth = True;
|
|
|
|
boot = True;
|
|
|
|
cpu = True;
|
|
|
|
gpu = True;
|
|
|
|
network = True;
|
|
|
|
security = True;
|
|
|
|
sound = True;
|
|
|
|
};
|
|
|
|
# SERVICES MODULES
|
|
|
|
services = {
|
|
|
|
autocpu = True;
|
|
|
|
dbus = True;
|
|
|
|
getty = True;
|
|
|
|
gvfs = True;
|
|
|
|
mpd = False;
|
|
|
|
polkit = True;
|
|
|
|
tailscale = True;
|
|
|
|
tlp = True;
|
2024-12-17 12:10:05 +00:00
|
|
|
zram = True // {
|
|
|
|
algo = "zstd";
|
|
|
|
};
|
2024-11-21 09:24:15 +00:00
|
|
|
};
|
|
|
|
# PROGRAMS MODULES
|
|
|
|
programs = {
|
|
|
|
common = True;
|
|
|
|
hyprland = True;
|
|
|
|
steam = False;
|
|
|
|
torrserver = False;
|
|
|
|
};
|
|
|
|
misc = {
|
|
|
|
console = False;
|
2024-12-17 12:10:05 +00:00
|
|
|
locales = True // {
|
|
|
|
zone = "Asia/Chita";
|
|
|
|
};
|
2024-11-21 09:24:15 +00:00
|
|
|
minimal = True;
|
|
|
|
power = True;
|
|
|
|
system76 = True;
|
|
|
|
trackpoint = True;
|
2024-12-17 12:10:05 +00:00
|
|
|
users = True // {
|
|
|
|
shell = "fish";
|
|
|
|
};
|
2024-11-21 09:24:15 +00:00
|
|
|
variables = True;
|
|
|
|
zapret = False;
|
|
|
|
nix = True;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
|
|
system.stateVersion = stateVersion;
|
|
|
|
}
|