49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
# Edit this configuration file to define what should be installed on
|
||
# your system. Help is available in the configuration.nix(5) man page
|
||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||
{
|
||
config,
|
||
pkgs,
|
||
self,
|
||
...
|
||
}: {
|
||
imports = [
|
||
./disko.nix
|
||
./hardware-configuration.nix
|
||
../../modules/nixos/networking/default.nix
|
||
../../modules/nixos/virtualization/default.nix
|
||
../../modules/nixos/common.nix
|
||
../../modules/nixos/fonts.nix
|
||
../../modules/nixos/services.nix
|
||
../../modules/nixos/users/tulg.nix
|
||
];
|
||
|
||
# Bootloader.
|
||
boot.loader.systemd-boot.enable = true;
|
||
boot.loader.efi.canTouchEfiVariables = true;
|
||
|
||
networking.hostName = "beatrice";
|
||
|
||
programs.hyprland = {
|
||
enable = true;
|
||
xwayland.enable = true;
|
||
};
|
||
|
||
powerManagement.powertop.enable = true;
|
||
services.upower.enable = true;
|
||
services = {
|
||
power-profiles-daemon.enable = true;
|
||
tlp = {
|
||
enable = false;
|
||
settings = {
|
||
CPU_BOOST_ON_AC = 1;
|
||
CPU_BOOST_ON_BAT = 0;
|
||
CPU_SCALING_GOVERNOR_ON_AC = "performance";
|
||
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
|
||
STOP_CHARGE_THRESH_BAT0 = 95;
|
||
};
|
||
};
|
||
};
|
||
|
||
system.stateVersion = "25.05"; # Did you read the comment?
|
||
}
|