mirror of
https://github.com/RGBCube/ncc
synced 2025-07-29 11:07:44 +00:00
Compare commits
6 commits
8a2a27954e
...
a76927f600
Author | SHA1 | Date | |
---|---|---|---|
a76927f600 | |||
1f4a166258 | |||
c2a212857d | |||
87b234f735 | |||
f8221c9545 | |||
d13e83b9fe |
6 changed files with 22 additions and 14 deletions
|
@ -3,17 +3,17 @@
|
||||||
|
|
||||||
nixConfig = {
|
nixConfig = {
|
||||||
extra-substituters = [
|
extra-substituters = [
|
||||||
|
"https://cache.rgbcu.be/"
|
||||||
"https://cache.garnix.io/"
|
"https://cache.garnix.io/"
|
||||||
"https://cache.privatevoid.net"
|
"https://cache.privatevoid.net"
|
||||||
"https://cache.rgbcu.be/"
|
|
||||||
"https://hyprland.cachix.org/"
|
"https://hyprland.cachix.org/"
|
||||||
"https://nix-community.cachix.org/"
|
"https://nix-community.cachix.org/"
|
||||||
];
|
];
|
||||||
|
|
||||||
extra-trusted-public-keys = [
|
extra-trusted-public-keys = [
|
||||||
|
"cache.rgbcu.be:nBN/5Qg5E8GIYwaoslm9DYo2zeqlBiCVNCPf17djr+w="
|
||||||
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
"cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g="
|
||||||
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
"cache.privatevoid.net:SErQ8bvNWANeAvtsOESUwVYr2VJynfuc9JRwlzTTkVg="
|
||||||
"cache.rgbcu.be:nBN/5Qg5E8GIYwaoslm9DYo2zeqlBiCVNCPf17djr+w="
|
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||||
];
|
];
|
||||||
|
|
|
@ -209,7 +209,7 @@ in {
|
||||||
lua-language-server
|
lua-language-server
|
||||||
|
|
||||||
# MARKDOWN
|
# MARKDOWN
|
||||||
marksman
|
markdown-oxide
|
||||||
|
|
||||||
# NIX
|
# NIX
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
|
|
|
@ -42,14 +42,14 @@ in {
|
||||||
|> mapAttrs (_: flake: { inherit flake; });
|
|> mapAttrs (_: flake: { inherit flake; });
|
||||||
|
|
||||||
nix.settings = (import <| self + /flake.nix).nixConfig
|
nix.settings = (import <| self + /flake.nix).nixConfig
|
||||||
|> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ])
|
|> flip removeAttrs (optionals config.isDarwin [ "use-cgroups" ]);
|
||||||
|> (if config.isLinux && config.services.nix-serve.enable then
|
# |> (if config.isLinux && config.services.nix-serve.enable then
|
||||||
(cfg: cfg // {
|
# (cfg: cfg // {
|
||||||
extra-substituters = cfg.extra-substituters
|
# extra-substituters = cfg.extra-substituters
|
||||||
|> filter (x: match ".*cache.rgbcu.be.*" x != null);
|
# |> filter (x: match ".*cache.rgbcu.be.*" x == null);
|
||||||
})
|
# })
|
||||||
else
|
# else
|
||||||
id);
|
# id);
|
||||||
|
|
||||||
nix.optimise.automatic = true;
|
nix.optimise.automatic = true;
|
||||||
|
|
||||||
|
|
|
@ -57,6 +57,11 @@ in {
|
||||||
inherit (self.starship) src;
|
inherit (self.starship) src;
|
||||||
hash = "sha256-nH1iYjKw/GbYKadoymH3onWBbMzuMUaRCSTNWVE+A9E=";
|
hash = "sha256-nH1iYjKw/GbYKadoymH3onWBbMzuMUaRCSTNWVE+A9E=";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = old.nativeBuildInputs ++ [
|
||||||
|
pkgs.cmake
|
||||||
|
pkgs.zlib-ng
|
||||||
|
];
|
||||||
});
|
});
|
||||||
})];
|
})];
|
||||||
|
|
||||||
|
|
|
@ -18,7 +18,7 @@ in {
|
||||||
NSScrollAnimationEnabled = true;
|
NSScrollAnimationEnabled = true;
|
||||||
NSWindowResizeTime = 0.001;
|
NSWindowResizeTime = 0.001;
|
||||||
|
|
||||||
# "com.apple.keyboard.fnState" = true; # Invert Fn.
|
"com.apple.keyboard.fnState" = false; # Don't invert Fn.
|
||||||
"com.apple.trackpad.scaling" = 1.5; # Faster mouse speed.
|
"com.apple.trackpad.scaling" = 1.5; # Faster mouse speed.
|
||||||
|
|
||||||
InitialKeyRepeat = 15;
|
InitialKeyRepeat = 15;
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
{ pkgs, ... }: {
|
{ config, pkgs, ... }: {
|
||||||
boot.kernelPackages = pkgs.linuxPackages_latest;
|
boot.kernelPackages = if config.isServer then
|
||||||
|
pkgs.linuxPackages_latest
|
||||||
|
else
|
||||||
|
pkgs.linuxKernel.packages.linux_zen;
|
||||||
|
|
||||||
# Credits:
|
# Credits:
|
||||||
# - https://github.com/NotAShelf/nyx/blob/main/modules/core/common/system/security/kernel.nix
|
# - https://github.com/NotAShelf/nyx/blob/main/modules/core/common/system/security/kernel.nix
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue