Nixcord stuff; Updated games; Added python lsp

This commit is contained in:
Jurn Wubben 2025-03-10 09:28:32 +01:00
parent 8b8b862d63
commit c48b41c250
6 changed files with 196 additions and 20 deletions

View file

@ -4,6 +4,7 @@
./games.nix
./mpv.nix
./neovim.nix
./nixcord.nix
./other.nix
];
}

View file

@ -1,3 +1,12 @@
{pkgs, ...}: {
# Also look at system/programs/games.nix
{
pkgs,
osConfig,
lib,
...
}: {
# Also look at system/programs/games.nix (some programs have to be overlayed or have systemwide modules that have to be installed.)
home.packages = lib.mkIf osConfig.niksos.games [
pkgs.dolphin-emu
pkgs.suyu
];
}

View file

@ -57,6 +57,7 @@
ts.enable = true;
typst.enable = true;
rust.enable = true;
python.enable = true;
};
lsp = {
formatOnSave = true;

63
home/programs/nixcord.nix Normal file
View file

@ -0,0 +1,63 @@
{inputs, ...}: {
imports = [inputs.nixcord.homeManagerModules.nixcord];
programs.nixcord = {
enable = true;
discord.enable = false;
vesktop.enable = true;
vesktopConfig = {
tray = false;
minimizeToTray = false;
enableSplashScreen = false;
};
config = {
frameless = true;
transparent = true;
plugins = let
enabledPlugins = [
# Plugins without config
"anonymiseFileNames"
"betterRoleDot"
"betterSettings"
"biggerStreamPreview"
"callTimer"
"clearURLs"
"copyFileContents"
"emoteCloner"
"fakeNitro"
"fixYoutubeEmbeds"
"friendsSince"
"fullSearchContext"
"memberCount"
"mentionAvatars"
"noUnblockToJump"
"openInApp"
"petpet"
"previewMessage"
"quickReply"
"relationshipNotifier"
"secretRingToneEnabler"
"shikiCodeblocks"
"showHiddenChannels"
"showHiddenThings"
"showMeYourName"
"unindent"
"userVoiceShow"
"youtubeAdblock"
"webScreenShareFixes"
];
in
(builtins.listToAttrs (map (x: {
name = x;
value = {enable = true;};
})
enabledPlugins))
// {
# Plugins with config
};
};
};
}