marvin: configure vesktop/discord via nixcord
3 files changed, 114 insertions(+), 6 deletions(-)
changed files
M flake.lock → flake.lock
@@ -194,6 +194,20 @@ "type": "github" } }, "flake-compat_2": { + "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" + }, + "original": { + "type": "tarball", + "url": "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz" + } + }, + "flake-compat_3": { "flake": false, "locked": { "lastModified": 1747046372,@@ -232,6 +246,24 @@ } }, "flake-parts_2": { "inputs": { + "nixpkgs-lib": "nixpkgs-lib" + }, + "locked": { + "lastModified": 1765835352, + "narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=", + "owner": "hercules-ci", + "repo": "flake-parts", + "rev": "a34fae9c08a15ad73f295041fec82323541400a9", + "type": "github" + }, + "original": { + "owner": "hercules-ci", + "repo": "flake-parts", + "type": "github" + } + }, + "flake-parts_3": { + "inputs": { "nixpkgs-lib": [ "nixvim", "nixpkgs"@@ -251,7 +283,7 @@ "repo": "flake-parts", "type": "github" } }, - "flake-parts_3": { + "flake-parts_4": { "inputs": { "nixpkgs-lib": [ "nur",@@ -272,7 +304,7 @@ "repo": "flake-parts", "type": "github" } }, - "flake-parts_4": { + "flake-parts_5": { "inputs": { "nixpkgs-lib": [ "stylix",@@ -595,6 +627,28 @@ "repo": "nix-rosetta-builder", "type": "github" } }, + "nixcord": { + "inputs": { + "flake-compat": "flake-compat_2", + "flake-parts": "flake-parts_2", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1768610265, + "narHash": "sha256-JZgnO/gPPBgFCKsQHIT2mRcK0vkwWGfyg/6wOJkb+F8=", + "owner": "kaylorben", + "repo": "nixcord", + "rev": "02c730b57b8ef16c62624a3410ef724d014c58db", + "type": "github" + }, + "original": { + "owner": "kaylorben", + "repo": "nixcord", + "type": "github" + } + }, "nixlib": { "locked": { "lastModified": 1736643958,@@ -699,6 +753,21 @@ "repo": "nixpkgs", "type": "github" } }, + "nixpkgs-lib": { + "locked": { + "lastModified": 1765674936, + "narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=", + "owner": "nix-community", + "repo": "nixpkgs.lib", + "rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nixpkgs.lib", + "type": "github" + } + }, "nixpkgs_2": { "locked": { "lastModified": 1762943920,@@ -765,7 +834,7 @@ } }, "nixvim": { "inputs": { - "flake-parts": "flake-parts_2", + "flake-parts": "flake-parts_3", "nixpkgs": [ "nixpkgs" ],@@ -787,7 +856,7 @@ } }, "nur": { "inputs": { - "flake-parts": "flake-parts_3", + "flake-parts": "flake-parts_4", "nixpkgs": [ "nixpkgs" ]@@ -833,7 +902,7 @@ } }, "pre-commit-hooks": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "gitignore": "gitignore", "nixpkgs": [ "searchix",@@ -915,6 +984,7 @@ "minimal-emacs": "minimal-emacs", "mycal": "mycal", "nanopi": "nanopi", "nix-rosetta-builder": "nix-rosetta-builder", + "nixcord": "nixcord", "nixos-generators": "nixos-generators_2", "nixos-hardware": "nixos-hardware", "nixpkgs": [@@ -994,7 +1064,7 @@ "base16-fish": "base16-fish", "base16-helix": "base16-helix", "base16-vim": "base16-vim", "firefox-gnome-theme": "firefox-gnome-theme", - "flake-parts": "flake-parts_4", + "flake-parts": "flake-parts_5", "gnome-shell": "gnome-shell", "nixpkgs": [ "nixpkgs"
M flake.nix → flake.nix
@@ -50,6 +50,10 @@ nixvim = { url = "github:nix-community/nixvim"; inputs.nixpkgs.follows = "nixpkgs"; }; + nixcord = { + url = "github:kaylorben/nixcord"; + inputs.nixpkgs.follows = "nixpkgs"; + }; agenix = { url = "github:ryantm/agenix";@@ -172,6 +176,7 @@ }; homeConfigurations."alan@marvin" = mkHomeConfiguration { system = "aarch64-darwin"; modules = [ + inputs.nixcord.homeModules.nixcord ./user/hosts/marvin.nix ./private/ssh.nix ];
M user/hosts/marvin.nix → user/hosts/marvin.nix
@@ -59,6 +59,39 @@ home.sessionPath = [ "/Library/Developer/CommandLineTools/usr/bin" ]; + programs.nixcord = { + enable = true; + discord = { + enable = false; + equicord.enable = true; + vencord.enable = false; + }; + vesktop.enable = true; + config = { + plugins = { + ClearURLs.enable = true; + OnePingPerDM.enable = true; + anammox.enable = true; + appleMusicRichPresence = { + enable = true; + activityType = 2; + }; + betterSettings.enable = true; + betterUserArea.enable = true; + + themeLibrary.enable = true; + noProfileThemes.enable = true; + noTypingAnimation.enable = true; + userMessagesPronouns.enable = true; + noReplyMention.enable = true; + replyPingControl = { + enable = true; + alwaysPingOnReply = true; + }; + }; + }; + }; + targets.darwin.defaults = { NSGlobalDomain = { AppleKeyboardUIMode = 2;