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 { monolith = lib.nixosSystem {
inherit system specialArgs; inherit system specialArgs;
modules = [ ./hosts/monolith.nix ./system/gitlab-runner.nix ./system/btusb-kernel-patches.nix ] modules = [
++ common_modules; ./hosts/monolith.nix
./system/gitlab-runner.nix
./system/btusb-kernel-patches.nix
] ++ common_modules;
}; };
rainbow = lib.nixosSystem { rainbow = lib.nixosSystem {
inherit system specialArgs; inherit system specialArgs;

View file

@ -11,7 +11,8 @@
uservars = import ../user/variables.nix; uservars = import ../user/variables.nix;
dhist = inputs.dhist.packages.${system}.dhist; dhist = inputs.dhist.packages.${system}.dhist;
mpvpaper = inputs.wegank.packages.${prev.system}.mpvpaper; 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; nil-lsp = inputs.nil-lsp.packages.${prev.system}.nil;
alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec { alacritty = (prev.unstable.alacritty.overrideAttrs (old-alacritty: rec {
src = inputs.alacritty-sixel; src = inputs.alacritty-sixel;

View file

@ -24,7 +24,8 @@
_diffr = [ diffr ]; _diffr = [ diffr ];
kak-pager = [ fish final._diffr ]; kak-pager = [ fish final._diffr ];
kak-man-pager = [ final.kak-pager ]; 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 ]; terminal = [ alacritty ];
wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ]; wpass = [ final.wdmenu fd pass sd wl-clipboard wtype ];
screenshotsh = screenshotsh =

View file

@ -3,15 +3,18 @@
boot.kernelPatches = [ boot.kernelPatches = [
{ {
name = "bt-usb-fixes-1"; 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"; 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"; 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"; name = "bt-usb-fixes-4";

View file

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

View file

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

View file

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

View file

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

View file

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