This commit is contained in:
Leonardo Eugênio 2022-12-01 23:13:00 -03:00
parent b9b85657db
commit 8ee461d1de
9 changed files with 21 additions and 28 deletions

View file

@ -77,8 +77,11 @@
};
monolith = lib.nixosSystem {
inherit system specialArgs;
modules = [ ./hosts/monolith.nix ./system/gitlab-runner.nix ./system/btusb-kernel-patches.nix ]
++ common_modules;
modules = [
./hosts/monolith.nix
./system/gitlab-runner.nix
./system/btusb-kernel-patches.nix
] ++ common_modules;
};
rainbow = lib.nixosSystem {
inherit system specialArgs;

View file

@ -11,7 +11,8 @@
uservars = import ../user/variables.nix;
dhist = inputs.dhist.packages.${system}.dhist;
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper;
sea-orm-cli = inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
sea-orm-cli =
inputs.sea-orm-cli.legacyPackages.${prev.system}.sea-orm-cli;
nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
src = inputs.alacritty-sixel;

View file

@ -24,7 +24,8 @@
_diffr = [ diffr ];
kak-pager = [ fish final._diffr ];
kak-man-pager = [ final.kak-pager ];
showkeys = [ ]; # This will not work unless programs.wshowkeys is enabled systemwide
showkeys =
[ ]; # This will not work unless programs.wshowkeys is enabled systemwide
terminal = [ alacritty ];
wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
screenshotsh =

View file

@ -3,15 +3,18 @@
boot.kernelPatches = [
{
name = "bt-usb-fixes-1";
patch = ./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff;
patch =
./kernel/patches/1-3-Bluetooth-btusb-Fix-Chinese-CSR-dongles-again-by-re-adding-ERR_DATA_REPORTING-quirk.diff;
}
{
name = "bt-usb-fixes-2";
patch = ./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff;
patch =
./kernel/patches/2-3-Bluetooth-btusb-Add-a-setup-message-for-CSR-dongles-showing-the-Read-Local-Information-values.diff;
}
{
name = "bt-usb-fixes-3";
patch = ./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff;
patch =
./kernel/patches/3-3-Bluetooth-btusb-Add-a-parameter-to-let-users-disable-the-fake-CSR-force-suspend-hack.diff;
}
{
name = "bt-usb-fixes-4";

View file

@ -2,11 +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, inputs, ... }: {
imports = [
./gamemode.nix
./cachix.nix
./media-packages.nix
];
imports = [ ./gamemode.nix ./cachix.nix ./media-packages.nix ];
packages.media-packages.enable = true;
# Bootloader.
@ -81,9 +77,7 @@
# Discoverable = true;
AlwaysPairable = true;
};
Policy = {
AutoEnable = true;
};
Policy = { AutoEnable = true; };
};
};

View file

@ -2,9 +2,7 @@
programs.gamemode.enable = true;
programs.gamemode.enableRenice = true;
programs.gamemode.settings = {
general = {
renice = 10;
};
general = { renice = 10; };
# Warning: GPU optimisations have the potential to damage hardware
gpu = {

View file

@ -1,6 +1,5 @@
{ config, pkgs, lib, inputs, ... }:
let inherit (import ./variables.nix) key theme color accent font desktop;
let inherit (import ./variables.nix) desktop;
in {
imports = [
./controller.nix

View file

@ -60,8 +60,6 @@ in {
# output_folder = "/home/lelgenio";
};
};
home.sessionVariables = {
MANGOHUD_DLSYM = 1;
};
home.sessionVariables = { MANGOHUD_DLSYM = 1; };
};
}

View file

@ -5,10 +5,6 @@
pass-secret-service.enable = true;
password-store-sync.enable = true;
};
home.packages = with pkgs; [
pass
wpass
_gpg-unlock
];
home.packages = with pkgs; [ pass wpass _gpg-unlock ];
};
}