restructure system modules, add tp packages, prune utilities.

This commit is contained in:
Satria 2026-02-25 18:49:14 +07:00
commit e010bff600
8 changed files with 29 additions and 39 deletions

View file

@ -57,8 +57,8 @@
[UNDERVOLT]
CORE: -100
GPU: -80
CACHE: -100
GPU: -80
UNCORE: -80
ANALOGIO: 0
'';
@ -74,4 +74,9 @@
};
hardware.bolt.enable = true;
};
environment.systemPackages = with pkgs; [
intel-gpu-tools
throttled
tlp
];
}

View file

@ -14,6 +14,7 @@
discord
slack
brave
modrinth-app
appimage-run
#winboat

View file

@ -1,14 +1,30 @@
{ hostname, timezone, ... }: {
{ hostname, timezone, locale, ... }: {
system.stateVersion = "24.11";
imports = [
./core/virtualization.nix
./core/bootloader.nix
./core/filesystem.nix
./core/network.nix
./core/kernel.nix
./core/shell.nix
./misc/utilities.nix
./misc/nix-conf.nix
];
networking.hostName = "${hostname}";
time.timeZone = timezone;
i18n.defaultLocale = locale;
environment.localBinInPath = true;
security = {
sudo.configFile = ''
Defaults insults
Defaults passwd_tries = 5
'';
};
services = {
openssh.enable = true;
tailscale.enable = true;
};
}
}

View file

@ -1,24 +0,0 @@
{ pkgs, locale, ... }: {
imports = [
./core/virtualization.nix
./core/bootloader.nix
./core/filesystem.nix
./core/network.nix
./core/kernel.nix
./core/shell.nix
./misc/programs.nix
./misc/graphics.nix
./desktop.nix
./base.nix
];
i18n.defaultLocale = locale;
environment.localBinInPath = true;
security = {
sudo.configFile = ''
Defaults insults
Defaults passwd_tries = 5
'';
};
}

View file

@ -1,7 +1,9 @@
{ pkgs, enable-dm, ... }: {
imports = [
./misc/programs.nix
./misc/graphics.nix
./misc/theme.nix
./base.nix
];
programs.hyprland = {

View file

@ -5,13 +5,6 @@
};
services = {
xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
};
};
pipewire = {
enable = true;
alsa.enable = true;

View file

@ -16,7 +16,6 @@
pavucontrol
jq
powertop
smartmontools
fastfetch
ethtool
dig
@ -46,8 +45,6 @@
sysstat
netcat
p7zip
throttled
tlp
stress
stress-ng
wakeonlan