push
This commit is contained in:
@@ -2,4 +2,4 @@
|
|||||||
# Do not delete.
|
# Do not delete.
|
||||||
|
|
||||||
folderID: nix
|
folderID: nix
|
||||||
created: 2026-01-29T23:05:44-06:00
|
created: 2026-01-29T23:06:32-06:00
|
||||||
|
|||||||
@@ -50,5 +50,7 @@
|
|||||||
nix-citizen.inputs.nix-gaming.follows = "nix-gaming";
|
nix-citizen.inputs.nix-gaming.follows = "nix-gaming";
|
||||||
|
|
||||||
# hytale-launcher.url = "github:JPyke3/hytale-launcher-nix";
|
# hytale-launcher.url = "github:JPyke3/hytale-launcher-nix";
|
||||||
|
|
||||||
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
9
modules/core/kernel.nix
Normal file
9
modules/core/kernel.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{ inputs, ... }: {
|
||||||
|
den.aspects.kernel = {
|
||||||
|
nixos = { pkgs, ... }: {
|
||||||
|
imports = [ inputs.nix-cachyos-kernel.overlays.default ];
|
||||||
|
|
||||||
|
boot.kernelPackages = pkgs.cachyosKernels.linuxPackages-cachyos-latest;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -2,7 +2,7 @@
|
|||||||
den.aspects.crab-hole = {
|
den.aspects.crab-hole = {
|
||||||
nixos = { ... }: {
|
nixos = { ... }: {
|
||||||
services.crab-hole = {
|
services.crab-hole = {
|
||||||
enable = false;
|
enable = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
blocklist = {
|
blocklist = {
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
"browser.startup.homepage" = "https://search.bug.tools";
|
"browser.startup.homepage" = "https://search.bug.tools";
|
||||||
"browser.startup.page" = 1;
|
"browser.startup.page" = 3;
|
||||||
|
|
||||||
"datareporting.healthreport.uploadEnabled" = false;
|
"datareporting.healthreport.uploadEnabled" = false;
|
||||||
"datareporting.policy.dataSubmissionEnabled" = false;
|
"datareporting.policy.dataSubmissionEnabled" = false;
|
||||||
@@ -31,6 +31,9 @@
|
|||||||
"privacy.resistFingerprinting.letterboxing" = true;
|
"privacy.resistFingerprinting.letterboxing" = true;
|
||||||
"privacy.donottrackheader.enabled" = true;
|
"privacy.donottrackheader.enabled" = true;
|
||||||
"privacy.globalprivacycontrol.enabled" = true;
|
"privacy.globalprivacycontrol.enabled" = true;
|
||||||
|
"privacy.resistFingerprinting" = false;
|
||||||
|
"privacy.fingerprintingProtection" = true;
|
||||||
|
"privacy.fingerprintingProtection.overrides" = "+AllTargets,-CSSPrefersColorScheme";
|
||||||
|
|
||||||
"browser.search.separatePrivateDefault" = false;
|
"browser.search.separatePrivateDefault" = false;
|
||||||
|
|
||||||
@@ -54,6 +57,11 @@
|
|||||||
|
|
||||||
"browser.tabs.animate" = false;
|
"browser.tabs.animate" = false;
|
||||||
"browser.fullscreen.animate" = false;
|
"browser.fullscreen.animate" = false;
|
||||||
|
|
||||||
|
"ui.systemUsesDarkTheme" = 1;
|
||||||
|
"browser.theme.content-theme" = 0;
|
||||||
|
|
||||||
|
"layout.css.prefers-color-scheme.content-override" = 0;
|
||||||
};
|
};
|
||||||
|
|
||||||
profiles.default = {
|
profiles.default = {
|
||||||
|
|||||||
@@ -1,30 +0,0 @@
|
|||||||
{
|
|
||||||
den.aspects.openrgb = {
|
|
||||||
nixos = { pkgs, lib, ... }:
|
|
||||||
let
|
|
||||||
no-rgb = pkgs.writeScriptBin "no-rgb" ''
|
|
||||||
#!/bin/sh
|
|
||||||
NUM_DEVICES=$(${pkgs.openrgb}/bin/openrgb --noautoconnect --list-devices | grep -E '^[0-9]+: ' | wc -l)
|
|
||||||
|
|
||||||
for i in $(seq 0 $(($NUM_DEVICES - 1))); do
|
|
||||||
${pkgs.openrgb}/bin/openrgb --noautoconnect --device $i --mode static --color 000000
|
|
||||||
done
|
|
||||||
'';
|
|
||||||
in {
|
|
||||||
config = {
|
|
||||||
services.udev.packages = [ pkgs.openrgb ];
|
|
||||||
boot.kernelModules = [ "i2c-dev" ];
|
|
||||||
hardware.i2c.enable = true;
|
|
||||||
|
|
||||||
systemd.services.no-rgb = {
|
|
||||||
description = "no-rgb";
|
|
||||||
serviceConfig = {
|
|
||||||
ExecStart = "${no-rgb}/bin/no-rgb";
|
|
||||||
Type = "oneshot";
|
|
||||||
};
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
@@ -6,6 +6,6 @@
|
|||||||
#den.provides.home-manager
|
#den.provides.home-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
user.extraGroups = [ "networkmanager" "wheel" "audio" "video" "libvirtd" "ydotool" "dialout" ];
|
user.extraGroups = [ "networkmanager" "wheel" "input" "audio" "video" "libvirtd" "ydotool" "dialout" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user