restructure system modules, add tp packages, prune utilities.
This commit is contained in:
parent
4ef60f6852
commit
e010bff600
8 changed files with 29 additions and 39 deletions
|
|
@ -3,7 +3,7 @@
|
||||||
../../modules/scans/thinkpad.nix
|
../../modules/scans/thinkpad.nix
|
||||||
../../modules/hardware/thinkpad.nix
|
../../modules/hardware/thinkpad.nix
|
||||||
|
|
||||||
../../modules/system
|
../../modules/system/desktop.nix
|
||||||
../../modules/system/user.nix
|
../../modules/system/user.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -57,8 +57,8 @@
|
||||||
|
|
||||||
[UNDERVOLT]
|
[UNDERVOLT]
|
||||||
CORE: -100
|
CORE: -100
|
||||||
GPU: -80
|
|
||||||
CACHE: -100
|
CACHE: -100
|
||||||
|
GPU: -80
|
||||||
UNCORE: -80
|
UNCORE: -80
|
||||||
ANALOGIO: 0
|
ANALOGIO: 0
|
||||||
'';
|
'';
|
||||||
|
|
@ -74,4 +74,9 @@
|
||||||
};
|
};
|
||||||
hardware.bolt.enable = true;
|
hardware.bolt.enable = true;
|
||||||
};
|
};
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
intel-gpu-tools
|
||||||
|
throttled
|
||||||
|
tlp
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@
|
||||||
discord
|
discord
|
||||||
slack
|
slack
|
||||||
brave
|
brave
|
||||||
|
modrinth-app
|
||||||
|
|
||||||
appimage-run
|
appimage-run
|
||||||
#winboat
|
#winboat
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,28 @@
|
||||||
{ hostname, timezone, ... }: {
|
{ hostname, timezone, locale, ... }: {
|
||||||
system.stateVersion = "24.11";
|
system.stateVersion = "24.11";
|
||||||
imports = [
|
imports = [
|
||||||
|
./core/virtualization.nix
|
||||||
|
./core/bootloader.nix
|
||||||
|
./core/filesystem.nix
|
||||||
|
./core/network.nix
|
||||||
|
./core/kernel.nix
|
||||||
|
./core/shell.nix
|
||||||
./misc/utilities.nix
|
./misc/utilities.nix
|
||||||
./misc/nix-conf.nix
|
./misc/nix-conf.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.hostName = "${hostname}";
|
networking.hostName = "${hostname}";
|
||||||
time.timeZone = timezone;
|
time.timeZone = timezone;
|
||||||
|
i18n.defaultLocale = locale;
|
||||||
|
environment.localBinInPath = true;
|
||||||
|
|
||||||
|
security = {
|
||||||
|
sudo.configFile = ''
|
||||||
|
Defaults insults
|
||||||
|
Defaults passwd_tries = 5
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
openssh.enable = true;
|
openssh.enable = true;
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -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
|
|
||||||
'';
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,9 @@
|
||||||
|
|
||||||
{ pkgs, enable-dm, ... }: {
|
{ pkgs, enable-dm, ... }: {
|
||||||
imports = [
|
imports = [
|
||||||
|
./misc/programs.nix
|
||||||
|
./misc/graphics.nix
|
||||||
./misc/theme.nix
|
./misc/theme.nix
|
||||||
|
./base.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.hyprland = {
|
programs.hyprland = {
|
||||||
|
|
|
||||||
|
|
@ -5,13 +5,6 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
xserver = {
|
|
||||||
enable = true;
|
|
||||||
xkb = {
|
|
||||||
layout = "us";
|
|
||||||
variant = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
pipewire = {
|
pipewire = {
|
||||||
enable = true;
|
enable = true;
|
||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,6 @@
|
||||||
pavucontrol
|
pavucontrol
|
||||||
jq
|
jq
|
||||||
powertop
|
powertop
|
||||||
smartmontools
|
|
||||||
fastfetch
|
fastfetch
|
||||||
ethtool
|
ethtool
|
||||||
dig
|
dig
|
||||||
|
|
@ -46,8 +45,6 @@
|
||||||
sysstat
|
sysstat
|
||||||
netcat
|
netcat
|
||||||
p7zip
|
p7zip
|
||||||
throttled
|
|
||||||
tlp
|
|
||||||
stress
|
stress
|
||||||
stress-ng
|
stress-ng
|
||||||
wakeonlan
|
wakeonlan
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue