From fdc23266f370915e0c1733512c618dc408214cff Mon Sep 17 00:00:00 2001 From: BuyMyMojo Date: Tue, 1 Apr 2025 17:56:54 +1100 Subject: [PATCH] Fix laptop config --- nixos/flake.nix | 2 +- nixos/hosts/low-power-laptop/configuration.nix | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/nixos/flake.nix b/nixos/flake.nix index d787e02..d71424d 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -72,7 +72,7 @@ }; modules = [ ./universal.nix - ./hosts/nixos/configuration.nix + ./hosts/low-power-laptop/configuration.nix ]; }; diff --git a/nixos/hosts/low-power-laptop/configuration.nix b/nixos/hosts/low-power-laptop/configuration.nix index 7fc13f4..a046754 100644 --- a/nixos/hosts/low-power-laptop/configuration.nix +++ b/nixos/hosts/low-power-laptop/configuration.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page # and in the NixOS manual (accessible by running ‘nixos-help’). -{ config, pkgs, ... }: +{ config, pkgs, unstable, ... }: { imports = @@ -10,6 +10,8 @@ ./hardware-configuration.nix ]; + boot.kernelPackages = pkgs.linuxPackages_latest; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -79,7 +81,7 @@ isNormalUser = true; description = "Aria"; extraGroups = [ "networkmanager" "wheel" ]; - packages = with pkgs; [ + packages = with pkgs; with unstable; [ git neovim ]; @@ -98,6 +100,7 @@ environment.systemPackages = with pkgs; [ # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # wget + unstable.nix-your-shell ]; # Some programs need SUID wrappers, can be configured further or are