feat: add vesktop
This commit is contained in:
1 parent
4c6875350e
commit
fa81915304
3 files changed
+152
-5
No files matched your search
Generated
+109
-1
@@ -66,6 +66,24 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-parts": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785627969,
|
||||||
|
"narHash": "sha256-4dtXQk/NMePegK/nWp5NSeuZKLATItOq61lpEvmXqGw=",
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"rev": "427bf4bd9435fdf21321c8cc628c24efc14c0f7a",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "hercules-ci",
|
||||||
|
"repo": "flake-parts",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"flake-schemas": {
|
"flake-schemas": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1780327564,
|
"lastModified": 1780327564,
|
||||||
@@ -142,6 +160,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixcord": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": "flake-parts",
|
||||||
|
"nixpkgs": "nixpkgs_2",
|
||||||
|
"nixpkgs-nixcord": "nixpkgs-nixcord",
|
||||||
|
"treefmt-nix": "treefmt-nix"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1786878900,
|
||||||
|
"narHash": "sha256-Q2Ed3e0TvgP6vNp6j6Lw8ReObARjl3TQgMWr1uutOjs=",
|
||||||
|
"owner": "kaylorben",
|
||||||
|
"repo": "nixcord",
|
||||||
|
"rev": "c2739f4f45543aad98ec0b0bb27975fb2ff55455",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "kaylorben",
|
||||||
|
"repo": "nixcord",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1786599213,
|
"lastModified": 1786599213,
|
||||||
@@ -158,7 +197,54 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"nixpkgs-lib": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785031560,
|
||||||
|
"narHash": "sha256-OmshNvn2vupOFpYinLUu+1Dnpu4n7Q5N3ggGVNHpkUI=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"rev": "0e79af5e3d4dcfcd676ab5ba3f95d2e3352e078c",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "nixpkgs.lib",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs-nixcord": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1786711500,
|
||||||
|
"narHash": "sha256-QvnceIGTBeDvDd9oCn+GvdsnkquliuwbVgpiRH68qaQ=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "02e08985a27c65ffd33d434eeb2e660a2e4dc84d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-26.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1786711500,
|
||||||
|
"narHash": "sha256-QvnceIGTBeDvDd9oCn+GvdsnkquliuwbVgpiRH68qaQ=",
|
||||||
|
"owner": "NixOS",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"rev": "02e08985a27c65ffd33d434eeb2e660a2e4dc84d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "NixOS",
|
||||||
|
"ref": "nixos-26.05",
|
||||||
|
"repo": "nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"nixpkgs_3": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1784497964,
|
"lastModified": 1784497964,
|
||||||
"narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=",
|
"narHash": "sha256-vlHUuqAcbcH2RKmHbPiuQzbv1pnzzavXnI62RD0bqCU=",
|
||||||
@@ -179,7 +265,8 @@
|
|||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"chaotic": "chaotic",
|
"chaotic": "chaotic",
|
||||||
"home-manager": "home-manager_3",
|
"home-manager": "home-manager_3",
|
||||||
"nixpkgs": "nixpkgs_2"
|
"nixcord": "nixcord",
|
||||||
|
"nixpkgs": "nixpkgs_3"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"systems": {
|
"systems": {
|
||||||
@@ -196,6 +283,27 @@
|
|||||||
"repo": "default",
|
"repo": "default",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"treefmt-nix": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixcord",
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1785945821,
|
||||||
|
"narHash": "sha256-NLSyTCW4K4ofhNBllt3omPasm6QpralXH1DBZOc91Dw=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"rev": "ae7910970dddc408fe6ab1c8e4b277bb21d72dc0",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "treefmt-nix",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|||||||
@@ -11,17 +11,17 @@
|
|||||||
url = "github:ryantm/agenix";
|
url = "github:ryantm/agenix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
chaotic = {
|
chaotic.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
||||||
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
|
nixcord.url = "github:kaylorben/nixcord";
|
||||||
};
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, home-manager, agenix, chaotic, ... }:
|
outputs = { self, nixpkgs, home-manager, agenix, chaotic, nixcord, ... }:
|
||||||
let
|
let
|
||||||
mkHome = system: home-manager.lib.homeManagerConfiguration {
|
mkHome = system: home-manager.lib.homeManagerConfiguration {
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
modules = [
|
modules = [
|
||||||
agenix.homeManagerModules.age
|
agenix.homeManagerModules.age
|
||||||
|
nixcord.homeModules.nixcord
|
||||||
./home.nix
|
./home.nix
|
||||||
chaotic.homeModules.default
|
chaotic.homeModules.default
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -105,5 +105,44 @@
|
|||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
programs.nixcord = {
|
||||||
|
enable = true;
|
||||||
|
vesktop.enable = true;
|
||||||
|
discord.vencord.enable = true;
|
||||||
|
config = {
|
||||||
|
themeLinks = [
|
||||||
|
"https://raw.githubusercontent.com/catppuccin/discord/main/themes/mocha.theme.css"
|
||||||
|
];
|
||||||
|
|
||||||
|
plugins = {
|
||||||
|
# --- UI & Experience ---
|
||||||
|
betterFolders.enable = true; # Better folder icons and controls
|
||||||
|
betterRoleContext.enable = true; # Show roles in more places
|
||||||
|
clearUrls.enable = true; # Remove tracking parameters from links
|
||||||
|
memberCount.enable = true; # Show server member count next to the server name
|
||||||
|
showHiddenThings.enable = true; # See hidden channels (read-only)
|
||||||
|
showMeYourName.enable = true; # Show original usernames next to nicknames
|
||||||
|
alwaysAnimate.enable = true; # Always animate channel icons
|
||||||
|
biggerStreamPreview.enable = true; # Bigger stream previews
|
||||||
|
|
||||||
|
# --- Media & Embeds ---
|
||||||
|
fixSpotifyEmbeds.enable = true; # Fix broken Spotify embeds
|
||||||
|
fixYoutubeEmbeds.enable = true; # Fix broken YouTube video embeds
|
||||||
|
volumeBooster.enable = true; # Boost user volume past 200%
|
||||||
|
youtubeAdblock.enable = true; # Block ads inside YouTube embeds
|
||||||
|
spotifyControls.enable = true; # Show Spotify controls
|
||||||
|
|
||||||
|
# --- System & Fixes ---
|
||||||
|
crashHandler.enable = true; # Prevent Discord from completely crashing
|
||||||
|
webScreenShareFixes.enable = true; # Essential for Wayland screen sharing
|
||||||
|
|
||||||
|
# --- Utility & Fun ---
|
||||||
|
fakeNitro.enable = true; # Stream in high quality, use external emojis
|
||||||
|
messageLogger.enable = true; # Keep deleted messages visible in your client locally
|
||||||
|
whoReacted.enable = true; # Show avatars of users who reacted to a message
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user