Merge branch 'main' of github.com:DarkGuibrine/NixConfig

This commit is contained in:
2026-05-03 12:38:39 -03:00
8 changed files with 219 additions and 199 deletions
+2 -2
View File
@@ -15,8 +15,8 @@
imports = [
./thunar.nix
./dms.nix
#./noctalia.nix
#./dms.nix
./noctalia.nix
];
services.dbus.enable = true;
+8 -3
View File
@@ -53,11 +53,16 @@
);
settings.flake-registry = "";
settings.substituters = [ "https://attic.xuyh0120.win/lantian" ];
settings.trusted-public-keys = [ "lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc=" ];
settings.substituters = [ "https://cache.garnix.io" ];
settings.trusted-public-keys = [ "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=" ];
};
# chaotic
chaotic.nyx = {
cache.enable = true;
overlay.enable = true;
};
nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ];
services = {
flatpak = {
enable = true;
+3 -2
View File
@@ -57,8 +57,9 @@
ATTR{vendor}=="0x10de", ATTR{class}=="0x03[0-9]*", \
TEST=="power/control", ATTR{power/control}="on"
# enable udev xiaomi
SUBSYSTEM=="usb", ATTR{idVendor}=="2717", MODE="0666", GROUP="plugdev"
# atack shark
KERNEL=="hidraw*", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="fa60", MODE="0666", SYMLINK+="xenta-mouse-hidraw", TAG+="uaccess"
KERNEL=="hidraw*", ATTRS{idVendor}=="1d57", ATTRS{idProduct}=="fa55", MODE="0666", SYMLINK+="xenta-mouse-hidraw", TAG+="uaccess"
'';
};
+3 -2
View File
@@ -14,8 +14,9 @@
## Configuraçãao do bootloader
boot = {
kernelPackages = pkgs.linuxPackages_latest;
#kernelPackages = pkgs.linux-cachyos-latest-lto-x86_64-v3;
#kernelPackages = pkgs.linuxPackages_latest;
kernelPackages = pkgs.linuxPackages_cachyos-lto;
#kernelPackages = inputs.nix-cachyos.legacyPackages.x86_64-linux.linuxPackages-cachyos-latest-lto-x86_64-v3;
loader.systemd-boot.enable = true;
loader.efi.canTouchEfiVariables = true;
loader.systemd-boot.configurationLimit = 10;
+5
View File
@@ -21,6 +21,11 @@
};
};
chaotic.nyx = {
cache.enable = true;
overlay.enable = true;
};
nix.package = pkgs.lixPackageSets.stable.lix;
}
+1
View File
@@ -17,6 +17,7 @@ in
];
boot = {
kernelPackages = pkgs.linuxPackages_cachyos-server;
loader = {
systemd-boot.enable = true;
efi = {