Add firmware-manager and keyboard-configurator for garrus

This commit is contained in:
Aaron Honeycutt 2024-09-14 16:39:16 -06:00
parent ab83d55352
commit 45762681d9
4 changed files with 17 additions and 20 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, ... }:
{
imports =
@ -45,13 +45,13 @@
hashedPassword = "$6$aAcbLtqiqzySifls$jdKMOQjoWITHD/dWNNZVUH/qNc6aoJ7v4zYofi0U7IJSVTbmOfChS3mzaJbp57AodjdPNKPrnrip8Nlh2Qanx.";
};
# Allow Unfree
nixpkgs.config.allowUnfree = true;
# Install some packages
environment.systemPackages =
with pkgs;
environment.systemPackages =
with pkgs;
[
# Packages from nixpkgs
avahi
@ -59,7 +59,7 @@
dmidecode
fira
git
git-lfs
git-lfs
libcamera
lshw
restic
@ -71,17 +71,16 @@
zlib
# Packages from Flake Inputs
inputs.system76-keyboard-configurator.packages.${system}.system76-keyboard-configurator
inputs.nix-software-center.packages.${system}.nix-software-center
];
];
programs.nix-ld.enable = true;
programs.nix-ld.libraries = with pkgs; [
# Add any missing dynamic libraries for unpackaged programs
# here, NOT in environment.systemPackages
];
# Enable/Disable hardware
## Turn off PulseAudio
hardware.pulseaudio.enable = false;
@ -129,7 +128,7 @@
'';
};
# System
# System
system.stateVersion = "24.05";
system.autoUpgrade.enable = true;
}

View file

@ -8,7 +8,6 @@
url = github:nix-community/disko;
inputs.nixpkgs.follows = "nixpkgs";
};
system76-keyboard-configurator.url = "github:pop-os/keyboard-configurator/fix-flake-input";
nix-software-center.url = "github:snowfallorg/nix-software-center";
home-manager = {
url = "github:nix-community/home-manager";
@ -99,7 +98,7 @@
./hardware-configuration.nix
];
};
};
};
}

View file

@ -1,9 +0,0 @@
{ config, pkgs, ... }:
{
# Name your host machine
networking.hostName = "galp4";
# System76
hardware.system76.enableAll = true;
}

View file

@ -8,6 +8,14 @@
hardware.system76.enableAll = true;
environment.systemPackages = with pkgs; [
system76-keyboard-configurator
firmware-manager
];
# NVIDIA
# services.xserver.videoDrivers = [ "nvidia" ];
# hardware.opengl.enable = true;
# hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
# Allow Unfree
nixpkgs.config.allowUnfree = true;
}