summaryrefslogtreecommitdiff
path: root/modules/hosts/libreX60/configuration.nix
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-08-21 12:27:51 -0500
committerTim Keller <tjk@tjkeller.xyz>2025-08-21 12:27:51 -0500
commit86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5 (patch)
treebcde8a15f5cec938d3f4653863b0f6309bc65626 /modules/hosts/libreX60/configuration.nix
parent078e8ea33d29af21bad55313d75d716db8d5a617 (diff)
downloadnixos-86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5.tar.xz
nixos-86fb7036cb4279abfc4ffc2bfa6b3a432c8700b5.zip
refactor project to prioritize correctness. place custom nixos options into existing 'modules' and prefix them with '_'. use _archetypes module for software collections, system profiles, etc. personal configs moved to _archetypes.tjkeller. probably changed or fixed or broke a few other things in the process
Diffstat (limited to 'modules/hosts/libreX60/configuration.nix')
-rw-r--r--modules/hosts/libreX60/configuration.nix9
1 files changed, 4 insertions, 5 deletions
diff --git a/modules/hosts/libreX60/configuration.nix b/modules/hosts/libreX60/configuration.nix
index 55f1774..9c83a42 100644
--- a/modules/hosts/libreX60/configuration.nix
+++ b/modules/hosts/libreX60/configuration.nix
@@ -2,23 +2,22 @@
imports = [
./hardware-configuration.nix
./powertop-auto-tune.nix
+ ../../nixos/archetypes/tjkeller
# Uncomment this module and reboot to enable bios flashing
#./bios-flashing.nix
];
# Use grub
- bootloader = {
+ boot._loader = {
+ enable = true;
loader = "grub";
mode = "bios";
grub.biosDevice = "/dev/sda";
};
- # Use bootloader
+ # Use libre kernel
boot.kernelPackages = pkgs.linuxPackages-libre;
- # Enable network drives
- nas.enable = true;
-
# i915 Gpu requires intel driver
services.xserver.videoDrivers = [ "intel" ];