Cleaning up

This commit is contained in:
Paul-Mathias Logue 2025-12-14 00:23:16 +01:00
parent 45992b10ae
commit a4765b4fee
7 changed files with 84 additions and 54 deletions

View file

@ -1,4 +1,9 @@
{ lib, pkgs, ... }:
{
inputs,
lib,
pkgs,
...
}:
{
imports = [
@ -9,6 +14,7 @@
./audio.nix
./bluetooth.nix
./networking.nix
./hardware.nix
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
@ -38,30 +44,10 @@
# You can use https://search.nixos.org/ to find more packages (and options).
environment.systemPackages = with pkgs; [
wget
sbctl
alacritty
fuzzel
libva-utils
firefox
(openrgb.overrideAttrs (old: {
src = pkgs.fetchFromGitLab {
owner = "CalcProgrammer1";
repo = "OpenRGB";
rev = "release_candidate_1.0rc2";
sha256 = "vdIA9i1ewcrfX5U7FkcRR+ISdH5uRi9fz9YU5IkPKJQ=";
};
patches = [
./remove_systemd_service.patch
];
postPatch = ''
patchShebangs scripts/build-udev-rules.sh
substituteInPlace scripts/build-udev-rules.sh \
--replace-fail /usr/bin/env "${pkgs.coreutils}/bin/env"
'';
version = "1.0rc2";
}))
adwaita-icon-theme
i2c-tools
];
fonts.fontconfig = {
@ -75,7 +61,6 @@
rgba = "rgb";
lcdfilter = "default";
};
defaultFonts = {
serif = [
"SF Pro"
@ -145,15 +130,10 @@
polkitPolicyOwners = [ "pml" ];
};
#services.hardware.openrgb.enable = true;
services.udev.packages = [ pkgs.openrgb ];
boot.kernelModules = [ "i2c-dev" ];
hardware.i2c.enable = true;
environment.etc = {
"1password/custom_allowed_browsers" = {
text = ''
firefox
firefox
'';
mode = "0755";
};