mirror of
https://github.com/Ascyii/nixos.git
synced 2026-01-01 06:44:26 -05:00
auto up 01:53:18 up 0:06, 2 users, load average: 0.90, 0.66, 0.33 auto up 01:59:32 up 0:01, 2 users, load average: 0.71, 0.35, 0.13 auto up 14:23:31 up 3:05, 2 users, load average: 0.68, 0.71, 0.72 auto up 11:42:06 up 1:56, 2 users, load average: 0.03, 0.13, 0.17 auto up 22:33:03 up 0:49, 2 users, load average: 0.27, 0.65, 0.85 auto up 21:17:45 up 0:54, 2 users, load average: 2.57, 2.26, 1.66 auto up 22:35:16 up 2:12, 2 users, load average: 1.32, 1.67, 1.83
36 lines
764 B
Nix
36 lines
764 B
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
|
|
./../../user/users.nix
|
|
|
|
./../../modules/essential.nix
|
|
./../../modules/common/sops.nix
|
|
|
|
./../../modules/hardware/boot.nix
|
|
|
|
./../../modules/graphics/workstation.nix
|
|
./../../modules/graphics/grayscale.nix
|
|
|
|
./../../modules/laptop/powersave.nix
|
|
./../../modules/laptop/battery.nix
|
|
./../../modules/services/printer.nix
|
|
];
|
|
|
|
networking.hostName = "thinix";
|
|
batMode = "double";
|
|
|
|
swapDevices = [{
|
|
device = "/swapfile";
|
|
size = 4096;
|
|
}];
|
|
|
|
services.udev.extraRules = ''
|
|
# Ignore internal NVMe Windows partition
|
|
KERNEL=="uinput", MODE="0660", GROUP="uinput", OPTIONS+="static_node=uinput"
|
|
'';
|
|
system.stateVersion = "24.11"; # Dont change this
|
|
}
|