(laptop) Gen 13: Laptop config test and confirmed to build

This commit is contained in:
pagedMov
2024-10-13 02:49:07 -04:00
parent 9372e3af0d
commit ff5fd389e1
3 changed files with 61 additions and 68 deletions

View File

@@ -4,15 +4,42 @@
imports = [
./../../modules/sys
./hardware.nix
(import ./nixswitch.nix { self = self; pkgs = pkgs; })
];
environment.systemPackages = with pkgs; [
acpi
brightnessctl
cpupower-gui
powertop
];
system.stateVersion = "24.05";
nixpkgs.config.allowUnfree = true;
nix = {
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
substituters = [ "https://nix-gaming.cachix.org" ];
};
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
environment = {
variables = {
XCURSOR_SIZE = "24";
PATH = "${pkgs.clang-tools}/bin:$PATH";
};
shells = with pkgs; [
zsh
bash
];
systemPackages = with pkgs; [
acpi
brightnessctl
cpupower-gui
powertop
];
};
time.timeZone = "America/New_York";
i18n.defaultLocale = "en_US.UTF-8";
services = {
power-profiles-daemon.enable = true;