mirror of
https://github.com/elwrcl/copnix.git
synced 2026-10-31 14:28:02 +03:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3caedf24ed | ||
|
|
8d6e0a087b | ||
|
|
563ef925b7 | ||
|
|
5bbc81a1bc | ||
|
|
3e4799d163 | ||
|
|
69ac94154c |
No files matched your search
Generated
+3
-3
@@ -573,11 +573,11 @@
|
|||||||
"nixpkgs": "nixpkgs_4"
|
"nixpkgs": "nixpkgs_4"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786809000,
|
"lastModified": 1792409791,
|
||||||
"narHash": "sha256-Es8fGTa5GrqohGxTtj19BORkjvBmjT040HOstMeRt1E=",
|
"narHash": "sha256-coYXJXq1fQqaBbO5GbatxFRl1s3BBcknRbJt7AYib9c=",
|
||||||
"owner": "elwrcl",
|
"owner": "elwrcl",
|
||||||
"repo": "nyi",
|
"repo": "nyi",
|
||||||
"rev": "720b0aba4e7b21c6d103349fb85d268947e81b6f",
|
"rev": "030c5d1413fc8978118fecc7dca4e9831fa1bd1e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -97,6 +97,7 @@ in
|
|||||||
config.flake.homeModules.home-nyi
|
config.flake.homeModules.home-nyi
|
||||||
config.flake.homeModules.home-valw
|
config.flake.homeModules.home-valw
|
||||||
config.flake.homeModules.home-discord
|
config.flake.homeModules.home-discord
|
||||||
|
config.flake.homeModules.home-discord-plugins
|
||||||
config.flake.homeModules.home-thunderbird
|
config.flake.homeModules.home-thunderbird
|
||||||
config.flake.homeModules.home-obsidian
|
config.flake.homeModules.home-obsidian
|
||||||
config.flake.homeModules.home-mpv
|
config.flake.homeModules.home-mpv
|
||||||
|
|||||||
@@ -0,0 +1,81 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
flake.homeModules.home-discord-plugins =
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
programs.nixcord.config = {
|
||||||
|
frameless = true;
|
||||||
|
transparent = true;
|
||||||
|
disableMinSize = true;
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
betterSettings.enable = true;
|
||||||
|
blurNsfw.enable = true;
|
||||||
|
callTimer.enable = true;
|
||||||
|
crashHandler.enable = true;
|
||||||
|
customFolderIcons = {
|
||||||
|
enable = true;
|
||||||
|
solidIcon = true;
|
||||||
|
};
|
||||||
|
declutter = {
|
||||||
|
enable = true;
|
||||||
|
alwaysShowUsername = false;
|
||||||
|
removeAudioMenus = false;
|
||||||
|
removeClanTag = false;
|
||||||
|
removeNameplate = false;
|
||||||
|
};
|
||||||
|
equibopStreamFixes.enable = true;
|
||||||
|
equicordHelper.enable = true;
|
||||||
|
fakeNitro.enable = true;
|
||||||
|
fakeProfileThemes.enable = true;
|
||||||
|
fixSpotifyEmbeds = {
|
||||||
|
enable = true;
|
||||||
|
volume = 10.0;
|
||||||
|
};
|
||||||
|
fixYoutubeEmbeds.enable = true;
|
||||||
|
gifCollections.enable = true;
|
||||||
|
messageLinkEmbeds.enable = true;
|
||||||
|
messageLogger = {
|
||||||
|
enable = true;
|
||||||
|
ignoreBots = false;
|
||||||
|
};
|
||||||
|
messageLoggerEnhanced.enable = true;
|
||||||
|
newPluginsManager.enable = true;
|
||||||
|
noF1.enable = true;
|
||||||
|
noNitroUpsell.enable = true;
|
||||||
|
noTrack.enable = true;
|
||||||
|
notificationVolume = {
|
||||||
|
enable = true;
|
||||||
|
notificationVolume = 50.0;
|
||||||
|
};
|
||||||
|
secretRingToneEnabler = {
|
||||||
|
enable = true;
|
||||||
|
onlySnow = true;
|
||||||
|
};
|
||||||
|
serverInfo.enable = true;
|
||||||
|
settings.enable = true;
|
||||||
|
shikiCodeblocks = {
|
||||||
|
enable = true;
|
||||||
|
bgOpacity = 100.0;
|
||||||
|
};
|
||||||
|
showHiddenThings.enable = true;
|
||||||
|
showTimeoutDuration.enable = true;
|
||||||
|
spotifyCrack.enable = true;
|
||||||
|
streamingCodecDisabler = {
|
||||||
|
enable = true;
|
||||||
|
disableAv1Codec = true;
|
||||||
|
disableVp8Codec = true;
|
||||||
|
disableVp9Codec = true;
|
||||||
|
};
|
||||||
|
supportHelper.enable = true;
|
||||||
|
unsuppressEmbeds.enable = true;
|
||||||
|
volumeBooster = {
|
||||||
|
enable = true;
|
||||||
|
multiplier = 2.0;
|
||||||
|
};
|
||||||
|
whosWatching.enable = true;
|
||||||
|
youtubeAdblock.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -9,36 +9,27 @@
|
|||||||
programs.nixcord = {
|
programs.nixcord = {
|
||||||
enable = true;
|
enable = true;
|
||||||
discord.silenceNoModClientWarning = true;
|
discord.silenceNoModClientWarning = true;
|
||||||
legcord = {
|
config.useQuickCss = true;
|
||||||
|
equibop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
autoscroll.enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
channel = "canary";
|
discordBranch = "canary";
|
||||||
doneSetup = true;
|
customTitleBar = false;
|
||||||
mods = [ "shelter" ];
|
transparencyOption = "none";
|
||||||
noBundleUpdates = [ ];
|
tray = true;
|
||||||
automaticUpdates = false;
|
|
||||||
windowStyle = "native";
|
|
||||||
windowMaterial = "mica";
|
|
||||||
transparency = "none";
|
|
||||||
tray = "dsc-tray";
|
|
||||||
minimizeToTray = true;
|
minimizeToTray = true;
|
||||||
startMinimized = "off";
|
autoStartMinimized = false;
|
||||||
autoHideMenuBar = true;
|
enableMenu = false;
|
||||||
skipSplash = true;
|
enableSplashScreen = true;
|
||||||
multiInstance = false;
|
|
||||||
mobileMode = false;
|
|
||||||
popoutPiP = true;
|
|
||||||
overlayButtonColor = "#121214";
|
|
||||||
hardwareAcceleration = true;
|
hardwareAcceleration = true;
|
||||||
vaapi = true;
|
hardwareVideoAcceleration = true;
|
||||||
performanceMode = "performance";
|
disableSmoothScroll = false;
|
||||||
sdpH264BaselineRewrite = true;
|
middleClickAutoscroll = true;
|
||||||
smoothScroll = true;
|
enableTaskbarFlashing = false;
|
||||||
autoScroll = true;
|
arRPC = true;
|
||||||
sleepInBackground = false;
|
arRPCProcessScanning = true;
|
||||||
blockPowerSavingInVoiceChat = false;
|
spellCheckLanguages = [ "en-US" ];
|
||||||
disableHttpCache = false;
|
|
||||||
disableAutogain = false;
|
|
||||||
|
|
||||||
audio = {
|
audio = {
|
||||||
workaround = false;
|
workaround = false;
|
||||||
@@ -49,30 +40,9 @@
|
|||||||
ignoreInputMedia = false;
|
ignoreInputMedia = false;
|
||||||
onlySpeakers = false;
|
onlySpeakers = false;
|
||||||
onlyDefaultSpeakers = true;
|
onlyDefaultSpeakers = true;
|
||||||
loopbackType = "loopbackWithMute";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
processScanning = true;
|
|
||||||
windowsLegacyScanning = false;
|
|
||||||
scanInterval = 5000;
|
|
||||||
inviteWebsocket = false;
|
|
||||||
spellcheck = true;
|
|
||||||
spellcheckLanguage = [ "en-US" ];
|
|
||||||
quickCss = true;
|
|
||||||
useSystemCssEditor = false;
|
|
||||||
csp = "none";
|
|
||||||
extendedPluginAbilities = false;
|
|
||||||
showExperimentalPluginMenu = false;
|
|
||||||
proxyMode = "system";
|
|
||||||
proxyRules = "";
|
|
||||||
proxyBypassRules = "<local>";
|
|
||||||
proxyPacScript = "";
|
|
||||||
keybinds = [ ];
|
|
||||||
bounceOnPing = false;
|
|
||||||
useMacSystemPicker = false;
|
|
||||||
additionalArguments = "";
|
|
||||||
supportBannerDismissed = true;
|
|
||||||
};
|
};
|
||||||
|
state.firstLaunch = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -70,14 +70,16 @@
|
|||||||
];
|
];
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
home.packages = [ pkgs.nerd-fonts.profont ];
|
||||||
|
|
||||||
programs.ghostty = {
|
programs.ghostty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
installBatSyntax = true;
|
installBatSyntax = true;
|
||||||
enableZshIntegration = true;
|
enableZshIntegration = true;
|
||||||
|
|
||||||
settings = {
|
settings = {
|
||||||
font-family = "JetBrainsMono Nerd Font";
|
font-family = "ProFont IIx Nerd Font";
|
||||||
font-size = 12;
|
font-size = 11;
|
||||||
|
|
||||||
window-padding-x = 10;
|
window-padding-x = 10;
|
||||||
window-padding-y = 10;
|
window-padding-y = 10;
|
||||||
|
|||||||
@@ -13,7 +13,6 @@
|
|||||||
"os"
|
"os"
|
||||||
"host"
|
"host"
|
||||||
"kernel"
|
"kernel"
|
||||||
"uptime"
|
|
||||||
"packages"
|
"packages"
|
||||||
"shell"
|
"shell"
|
||||||
"wm"
|
"wm"
|
||||||
@@ -22,24 +21,22 @@
|
|||||||
"gpu"
|
"gpu"
|
||||||
"memory"
|
"memory"
|
||||||
"disk"
|
"disk"
|
||||||
"colors"
|
|
||||||
];
|
];
|
||||||
labelColor = "white";
|
labelColor = "white";
|
||||||
separator = "-";
|
separator = "-";
|
||||||
box = false;
|
box = false;
|
||||||
shading = null;
|
shading = null;
|
||||||
shadingMode = "sextants";
|
shadingMode = "ascii";
|
||||||
logoOuter = null;
|
logoOuter = null;
|
||||||
logoInner = null;
|
logoInner = null;
|
||||||
light = "top";
|
light = "top";
|
||||||
spin = "y";
|
spin = "xy";
|
||||||
speed = null;
|
speed = null;
|
||||||
size = null;
|
size = null;
|
||||||
height = null;
|
height = null;
|
||||||
depth = null;
|
depth = null;
|
||||||
disks = [
|
disks = [
|
||||||
"/mnt/HDD/linuxdata"
|
"/mnt/HDD/linuxdata"
|
||||||
"/mnt/HDD/shared"
|
|
||||||
];
|
];
|
||||||
logo = null;
|
logo = null;
|
||||||
logoDistro = null;
|
logoDistro = null;
|
||||||
|
|||||||
@@ -1,38 +1,60 @@
|
|||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
flake.homeModules.home-theme-ghostty =
|
flake.homeModules.home-theme-ghostty =
|
||||||
{ config, ... }:
|
{ config, lib, ... }:
|
||||||
let
|
let
|
||||||
p = config.elars.theme.palette.withHashtag;
|
p = config.elars.theme.palette;
|
||||||
|
|
||||||
|
toHex2 =
|
||||||
|
n:
|
||||||
|
let
|
||||||
|
h = lib.toLower (lib.toHexString n);
|
||||||
|
in
|
||||||
|
if n < 16 then "0${h}" else h;
|
||||||
|
|
||||||
|
clamp = n: lib.max 0 (lib.min 255 n);
|
||||||
|
tone =
|
||||||
|
sat: bright: hex:
|
||||||
|
let
|
||||||
|
rgb = config.elars.theme.hexToRgb hex;
|
||||||
|
r = builtins.elemAt rgb 0;
|
||||||
|
g = builtins.elemAt rgb 1;
|
||||||
|
b = builtins.elemAt rgb 2;
|
||||||
|
y = (299 * r + 587 * g + 114 * b) / 1000;
|
||||||
|
ch = c: clamp ((y * 100 + (c - y) * sat) / 100 * bright / 100);
|
||||||
|
in
|
||||||
|
"#${toHex2 (ch r)}${toHex2 (ch g)}${toHex2 (ch b)}";
|
||||||
|
|
||||||
|
surface = tone 100 80;
|
||||||
|
dim = tone 100 95;
|
||||||
|
text = tone 100 92;
|
||||||
|
hue = tone 60 88;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
programs.ghostty.settings = {
|
programs.ghostty.settings = {
|
||||||
background = p.base00;
|
background = surface p.base00;
|
||||||
foreground = p.base05;
|
foreground = text p.base05;
|
||||||
|
cursor-color = hue p.accent;
|
||||||
cursor-color = p.accent;
|
cursor-text = surface p.base00;
|
||||||
cursor-text = p.base00;
|
selection-background = surface p.base02;
|
||||||
|
selection-foreground = text p.base05;
|
||||||
selection-background = p.base02;
|
|
||||||
selection-foreground = p.base05;
|
|
||||||
|
|
||||||
palette = [
|
palette = [
|
||||||
"0=${p.base00}"
|
"0=${surface p.base00}"
|
||||||
"1=${p.base08}"
|
"1=${hue p.base08}"
|
||||||
"2=${p.base0B}"
|
"2=${hue p.base0B}"
|
||||||
"3=${p.base0A}"
|
"3=${hue p.base0A}"
|
||||||
"4=${p.base0D}"
|
"4=${hue p.base0D}"
|
||||||
"5=${p.base0E}"
|
"5=${hue p.base0E}"
|
||||||
"6=${p.base0C}"
|
"6=${hue p.base0C}"
|
||||||
"7=${p.base05}"
|
"7=${text p.base05}"
|
||||||
"8=${p.base03}"
|
"8=${dim p.base03}"
|
||||||
"9=${p.base08}"
|
"9=${hue p.base08}"
|
||||||
"10=${p.base0B}"
|
"10=${hue p.base0B}"
|
||||||
"11=${p.base09}"
|
"11=${hue p.base09}"
|
||||||
"12=${p.base0D}"
|
"12=${hue p.base0D}"
|
||||||
"13=${p.base0E}"
|
"13=${hue p.base0E}"
|
||||||
"14=${p.base0C}"
|
"14=${hue p.base0C}"
|
||||||
"15=${p.base07}"
|
"15=${text p.base07}"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -13,7 +13,7 @@
|
|||||||
"flakes"
|
"flakes"
|
||||||
"pipe-operators"
|
"pipe-operators"
|
||||||
];
|
];
|
||||||
max-jobs = 2;
|
max-jobs = 4;
|
||||||
cores = 0;
|
cores = 0;
|
||||||
|
|
||||||
min-free = 5368709120; # 5 GiB
|
min-free = 5368709120; # 5 GiB
|
||||||
@@ -25,7 +25,6 @@
|
|||||||
"https://ezkea.cachix.org"
|
"https://ezkea.cachix.org"
|
||||||
"https://noctalia.cachix.org"
|
"https://noctalia.cachix.org"
|
||||||
"https://hyprland.cachix.org"
|
"https://hyprland.cachix.org"
|
||||||
"https://attic.xuyh0120.win/lantian"
|
|
||||||
"https://soryu-kernel.cachix.org"
|
"https://soryu-kernel.cachix.org"
|
||||||
];
|
];
|
||||||
trusted-public-keys = [
|
trusted-public-keys = [
|
||||||
@@ -34,7 +33,6 @@
|
|||||||
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
"ezkea.cachix.org-1:ioBmUbJTZIKsHmWWXPe1FSFbeVe+afhfgqgTSNd34eI="
|
||||||
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
|
"noctalia.cachix.org-1:pCOR47nnMEo5thcxNDtzWpOxNFQsBRglJzxWPp3dkU4="
|
||||||
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||||||
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
|
|
||||||
"soryu-kernel.cachix.org-1:2/Tm90ibGjLQWo/uX4qo/kbFB5yjQG/CzfE1oelHdWw="
|
"soryu-kernel.cachix.org-1:2/Tm90ibGjLQWo/uX4qo/kbFB5yjQG/CzfE1oelHdWw="
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user