mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
local drivers
This commit is contained in:
1 parent
7e965fe195
commit
a71d522e5a
76 files changed
+37344
-18
No files matched your search
@@ -1,7 +1,7 @@
|
||||
{ ... }:
|
||||
{
|
||||
commonModules.common-git =
|
||||
{ pkgs, lib, ... }:
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
base = ''
|
||||
[user]
|
||||
@@ -19,7 +19,14 @@
|
||||
helper = osxkeychain
|
||||
'';
|
||||
|
||||
gitconfig = pkgs.writeText "gitconfig" (base + lib.optionalString pkgs.stdenv.isDarwin darwinExtra);
|
||||
linuxExtra = ''
|
||||
[credential]
|
||||
helper = ${pkgs.gitFull}/bin/git-credential-libsecret
|
||||
'';
|
||||
|
||||
gitconfig = pkgs.writeText "gitconfig" (
|
||||
base + (if pkgs.stdenv.isDarwin then darwinExtra else linuxExtra)
|
||||
);
|
||||
in
|
||||
{
|
||||
environment.variables.GIT_CONFIG_SYSTEM = "${gitconfig}";
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
"pipe-operators"
|
||||
];
|
||||
max-jobs = 2;
|
||||
cores = 2;
|
||||
cores = 0;
|
||||
|
||||
min-free = 5368709120; # 5 GiB
|
||||
max-free = 21474836480; # 20 GiB
|
||||
@@ -46,12 +46,6 @@
|
||||
persistent = true;
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
nix.optimise = {
|
||||
automatic = true;
|
||||
dates = [ "monthly" ];
|
||||
persistent = true;
|
||||
randomizedDelaySec = "45min";
|
||||
};
|
||||
|
||||
documentation = {
|
||||
man.enable = true;
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
onlyoffice-desktopeditors
|
||||
kdePackages.kdenlive
|
||||
whatsapp-electron
|
||||
qbittorrent
|
||||
telegram-desktop
|
||||
prismlauncher
|
||||
gparted-full
|
||||
@@ -178,7 +179,6 @@
|
||||
ffmpeg
|
||||
yt-dlp
|
||||
cava
|
||||
mpv
|
||||
|
||||
inputs.agenix.packages.${system}.default
|
||||
inputs.nix-alien.packages.${system}.nix-alien
|
||||
|
||||
Reference in new issue
Block a user