Fix laptop config

This commit is contained in:
BuyMyMojo 2025-04-01 17:56:54 +11:00
parent dd853c49c8
commit fdc23266f3
2 changed files with 6 additions and 3 deletions

View file

@ -72,7 +72,7 @@
}; };
modules = [ modules = [
./universal.nix ./universal.nix
./hosts/nixos/configuration.nix ./hosts/low-power-laptop/configuration.nix
]; ];
}; };

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page # your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help). # and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }: { config, pkgs, unstable, ... }:
{ {
imports = imports =
@ -10,6 +10,8 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
boot.kernelPackages = pkgs.linuxPackages_latest;
# Bootloader. # Bootloader.
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
@ -79,7 +81,7 @@
isNormalUser = true; isNormalUser = true;
description = "Aria"; description = "Aria";
extraGroups = [ "networkmanager" "wheel" ]; extraGroups = [ "networkmanager" "wheel" ];
packages = with pkgs; [ packages = with pkgs; with unstable; [
git git
neovim neovim
]; ];
@ -98,6 +100,7 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. # vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
# wget # wget
unstable.nix-your-shell
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are