feat: added nixcord

This commit is contained in:
Nick 2025-10-11 16:59:05 -05:00
parent 76749334b9
commit d19d5288b0
3 changed files with 166 additions and 42 deletions

118
flake.lock generated
View file

@ -161,6 +161,20 @@
}
},
"flake-compat_3": {
"locked": {
"lastModified": 1733328505,
"narHash": "sha256-NeCCThCEP3eCl2l/+27kNNK7QrwZB1IJCrXfrbv5oqU=",
"rev": "ff81ac966bb2cae68946d5ed5fc4994f96d0ffec",
"revCount": 69,
"type": "tarball",
"url": "https://api.flakehub.com/f/pinned/edolstra/flake-compat/1.1.0/01948eb7-9cba-704f-bbf3-3fa956735b52/source.tar.gz?rev=ff81ac966bb2cae68946d5ed5fc4994f96d0ffec&revCount=69"
},
"original": {
"type": "tarball",
"url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz"
}
},
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1746162366,
@ -176,22 +190,6 @@
"type": "github"
}
},
"flake-compat_4": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_5": {
"flake": false,
"locked": {
@ -209,6 +207,22 @@
}
},
"flake-compat_6": {
"flake": false,
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
"owner": "edolstra",
"repo": "flake-compat",
"rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885",
"type": "github"
},
"original": {
"owner": "edolstra",
"repo": "flake-compat",
"type": "github"
}
},
"flake-compat_7": {
"locked": {
"lastModified": 1747046372,
"narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=",
@ -280,6 +294,24 @@
}
},
"flake-parts_4": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_3"
},
"locked": {
"lastModified": 1754091436,
"narHash": "sha256-XKqDMN1/Qj1DKivQvscI4vmHfDfvYR2pfuFOJiCeewM=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "67df8c627c2c39c41dbec76a1f201929929ab0bd",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_5": {
"inputs": {
"nixpkgs-lib": [
"nur",
@ -300,9 +332,9 @@
"type": "github"
}
},
"flake-parts_5": {
"flake-parts_6": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_3"
"nixpkgs-lib": "nixpkgs-lib_4"
},
"locked": {
"lastModified": 1759362264,
@ -1044,9 +1076,31 @@
"type": "github"
}
},
"nixos-cosmic": {
"nixcord": {
"inputs": {
"flake-compat": "flake-compat_3",
"flake-parts": "flake-parts_4",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1760145372,
"narHash": "sha256-DoYFmqHa/enkUcqJZ4vJ56cE9OdA/VZVPBDByAi4iLw=",
"owner": "kaylorben",
"repo": "nixcord",
"rev": "a875b64598bf15ae54ad4de539221359de1a2448",
"type": "github"
},
"original": {
"owner": "kaylorben",
"repo": "nixcord",
"type": "github"
}
},
"nixos-cosmic": {
"inputs": {
"flake-compat": "flake-compat_4",
"nixpkgs": "nixpkgs_6",
"nixpkgs-stable": "nixpkgs-stable_2",
"rust-overlay": "rust-overlay_2"
@ -1112,6 +1166,21 @@
}
},
"nixpkgs-lib_3": {
"locked": {
"lastModified": 1753579242,
"narHash": "sha256-zvaMGVn14/Zz8hnp4VWT9xVnhc8vuL3TStRqwk22biA=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "0f36c44e01a6129be94e3ade315a5883f0228a6e",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-lib_4": {
"locked": {
"lastModified": 1754788789,
"narHash": "sha256-x2rJ+Ovzq0sCMpgfgGaaqgBSwY+LST+WbZ6TytnT9Rk=",
@ -1385,7 +1454,7 @@
},
"nur": {
"inputs": {
"flake-parts": "flake-parts_4",
"flake-parts": "flake-parts_5",
"nixpkgs": [
"nixpkgs"
]
@ -1452,7 +1521,7 @@
},
"pre-commit-hooks-nix": {
"inputs": {
"flake-compat": "flake-compat_4",
"flake-compat": "flake-compat_5",
"gitignore": "gitignore_2",
"nixpkgs": [
"nixpkgs"
@ -1485,6 +1554,7 @@
"lix": "lix",
"lix-module": "lix-module",
"niri": "niri",
"nixcord": "nixcord",
"nixos-cosmic": "nixos-cosmic",
"nixpkgs": "nixpkgs_7",
"nixpkgs-stable": "nixpkgs-stable_3",
@ -1787,7 +1857,7 @@
},
"upRootNutrition": {
"inputs": {
"flake-parts": "flake-parts_5",
"flake-parts": "flake-parts_6",
"mkElmDerivation": "mkElmDerivation",
"nixpkgs": "nixpkgs_9",
"nixpkgs-stable": "nixpkgs-stable_4",
@ -1809,7 +1879,7 @@
},
"waybar": {
"inputs": {
"flake-compat": "flake-compat_5",
"flake-compat": "flake-compat_6",
"nixpkgs": [
"nixpkgs"
]
@ -1947,7 +2017,7 @@
"zed-editor": {
"inputs": {
"crane": "crane",
"flake-compat": "flake-compat_6",
"flake-compat": "flake-compat_7",
"nixpkgs": [
"nixpkgs"
],

View file

@ -76,6 +76,11 @@
url = "github:zed-industries/zed";
inputs.nixpkgs.follows = "nixpkgs";
};
nixcord = {
url = "github:kaylorben/nixcord";
inputs.nixpkgs.follows = "nixpkgs";
inputs.home-manager.follows = "home-manager";
};
upRootNutrition = {
url = "git+ssh://git@gitlab.com/uprootnutrition/website.git";
};

View file

@ -1,24 +1,73 @@
{
pkgs,
flake,
...
}:
{
home.packages = builtins.attrValues {
inherit (pkgs)
vesktop
;
imports = [
flake.inputs.nixcord.homeModules.nixcord
];
programs.nixcord = {
enable = true;
discord.vencord = {
unstable = true;
};
vesktop = {
enable = true;
autoscroll.enable = true;
};
dorion = {
enable = true;
trayIconEnabled = false;
};
config =
let
themeFile = "catppuccin-macchiato.theme.css";
themePath = "https://catppuccin.github.io/discord/dist/${themeFile}";
in
{
useQuickCss = true;
autoUpdate = true;
themeLinks = [
themePath
];
enabledThemes = [
themeFile
];
frameless = true;
plugins = {
alwaysAnimate.enable = true;
alwaysTrust.domain = true;
alwaysTrust.file = true;
betterGifPicker.enable = true;
fakeNitro = {
enable = true;
enableEmojiBypass = true;
enableStickerBypass = true;
enableStreamQualityBypass = true;
};
blurNSFW.enable = false;
ignoreActivities = {
enable = true;
ignorePlaying = true;
ignoreWatching = true;
};
};
};
dorion = {
theme = "dark";
zoom = "1.0";
blur = "acrylic";
sysTray = false;
openOnStartup = true;
autoClearCache = true;
disableHardwareAccel = false;
rpcServer = true;
rpcProcessScanner = true;
pushToTalk = false;
desktopNotifications = true;
unreadBadge = true;
};
extraConfig = {
};
};
# xdg.configFile."vesktop/settings.json".text = ''
# {
# "discordBranch": "stable",
# "minimizeToTray": false,
# "arRPC": true,
# "splashColor": "rgb(202, 211, 245)",
# "splashBackground": "rgb(36, 39, 58)",
# "customTitleBar": false,
# "tray": false,
# "staticTitle": false,
# "enableMenu": false
# }
# '';
}