Compare commits

...

2 commits

Author SHA1 Message Date
5b6dff7fc0 feat: configure discord via nix
such that it themes and is declarative
2026-03-11 09:26:30 +02:00
1b74745d5d feat: add zig to neovim 2026-03-11 08:59:55 +02:00
4 changed files with 119 additions and 11 deletions

92
flake.lock generated
View file

@ -193,6 +193,20 @@
"type": "github" "type": "github"
} }
}, },
"flake-compat": {
"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-parts": { "flake-parts": {
"inputs": { "inputs": {
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
@ -232,6 +246,24 @@
} }
}, },
"flake-parts_3": { "flake-parts_3": {
"inputs": {
"nixpkgs-lib": "nixpkgs-lib_2"
},
"locked": {
"lastModified": 1772408722,
"narHash": "sha256-rHuJtdcOjK7rAHpHphUb1iCvgkU3GpfvicLMwwnfMT0=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "f20dc5d9b8027381c474144ecabc9034d6a839a3",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_4": {
"inputs": { "inputs": {
"nixpkgs-lib": [ "nixpkgs-lib": [
"stylix", "stylix",
@ -529,6 +561,26 @@
"type": "github" "type": "github"
} }
}, },
"nixcord": {
"inputs": {
"flake-compat": "flake-compat",
"flake-parts": "flake-parts_3",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1773189831,
"narHash": "sha256-l/p0bQ6meRcY8gbgdoYIDP6etll0IV2f3rXe2nD+yPk=",
"owner": "FlameFlag",
"repo": "nixcord",
"rev": "9a65dc8e902c6a0d1ed2a1b945639b7c72afcfc4",
"type": "github"
},
"original": {
"owner": "FlameFlag",
"repo": "nixcord",
"type": "github"
}
},
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1748162331, "lastModified": 1748162331,
@ -559,6 +611,21 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs-lib_2": {
"locked": {
"lastModified": 1772328832,
"narHash": "sha256-e+/T/pmEkLP6BHhYjx6GmwP5ivonQQn0bJdH9YrRB+Q=",
"owner": "nix-community",
"repo": "nixpkgs.lib",
"rev": "c185c7a5e5dd8f9add5b2f8ebeff00888b070742",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "nixpkgs.lib",
"type": "github"
}
},
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1771714954, "lastModified": 1771714954,
@ -624,6 +691,22 @@
} }
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": {
"lastModified": 1772465433,
"narHash": "sha256-ywy9troNEfpgh0Ee+zaV1UTgU8kYBVKtvPSxh6clYGU=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "c581273b8d5bdf1c6ce7e0a54da9841e6a763913",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-25.11",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": { "locked": {
"lastModified": 1771714954, "lastModified": 1771714954,
"narHash": "sha256-nhZJPnBavtu40/L2aqpljrfUNb2rxmWTmSjK2c9UKds=", "narHash": "sha256-nhZJPnBavtu40/L2aqpljrfUNb2rxmWTmSjK2c9UKds=",
@ -639,7 +722,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_6": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1771369470, "lastModified": 1771369470,
"narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=", "narHash": "sha256-0NBlEBKkN3lufyvFegY4TYv5mCNHbi5OmBDrzihbBMQ=",
@ -712,7 +795,8 @@
"lazyvim": "lazyvim", "lazyvim": "lazyvim",
"niri-flake": "niri-flake", "niri-flake": "niri-flake",
"nix-openclaw": "nix-openclaw", "nix-openclaw": "nix-openclaw",
"nixpkgs": "nixpkgs_5", "nixcord": "nixcord",
"nixpkgs": "nixpkgs_6",
"noctalia": "noctalia", "noctalia": "noctalia",
"sops-nix": "sops-nix", "sops-nix": "sops-nix",
"spicetify-nix": "spicetify-nix", "spicetify-nix": "spicetify-nix",
@ -741,7 +825,7 @@
}, },
"spicetify-nix": { "spicetify-nix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_6", "nixpkgs": "nixpkgs_7",
"systems": "systems_4" "systems": "systems_4"
}, },
"locked": { "locked": {
@ -765,7 +849,7 @@
"base16-helix": "base16-helix", "base16-helix": "base16-helix",
"base16-vim": "base16-vim", "base16-vim": "base16-vim",
"firefox-gnome-theme": "firefox-gnome-theme", "firefox-gnome-theme": "firefox-gnome-theme",
"flake-parts": "flake-parts_3", "flake-parts": "flake-parts_4",
"gnome-shell": "gnome-shell", "gnome-shell": "gnome-shell",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"

View file

@ -48,6 +48,8 @@
nix-openclaw.url = "github:openclaw/nix-openclaw"; nix-openclaw.url = "github:openclaw/nix-openclaw";
nix-openclaw.inputs.nixpkgs.follows = "nixpkgs"; nix-openclaw.inputs.nixpkgs.follows = "nixpkgs";
nixcord.url = "github:FlameFlag/nixcord";
}; };
outputs = inputs @ {flake-parts, ...}: outputs = inputs @ {flake-parts, ...}:

View file

@ -24,6 +24,7 @@
alejandra alejandra
statix statix
libgit2.lib libgit2.lib
zls
vimPlugins.nvim-treesitter.withAllGrammars vimPlugins.nvim-treesitter.withAllGrammars
] ]
@ -135,6 +136,8 @@
lang.gleam.installDependencies = true; lang.gleam.installDependencies = true;
lang.erlang.enable = true; lang.erlang.enable = true;
lang.erlang.installDependencies = true; lang.erlang.installDependencies = true;
lang.zig.enable = true;
lang.zig.installDependencies = true;
# only reason we don't add `pkgs.claude-code` to base is because base is meant to be things for servers, # only reason we don't add `pkgs.claude-code` to base is because base is meant to be things for servers,
# we do need neovim on the server but we don't need a clanker on there too! # we do need neovim on the server but we don't need a clanker on there too!

View file

@ -1,10 +1,29 @@
{...}: { {inputs, ...}: {
flake.modules.nixos.desktop = {pkgs, ...}: let flake.modules.homeManager.desktop = {
discord = pkgs.discord.override { imports = [inputs.nixcord.homeModules.nixcord];
withOpenASAR = true;
withVencord = true; programs.nixcord = {
enable = true;
discord.vencord.enable = false;
discord.equicord.enable = true;
config = {
frameless = true;
enableReactDevtools = true;
plugins.ClearURLs.enable = true;
plugins.shikiCodeblocks.enable = true;
plugins.betterGifPicker.enable = true;
plugins.betterCommands.enable = true;
plugins.betterPlusReacts.enable = true;
plugins.betterSettings.enable = true;
plugins.bypassPinPrompt.enable = true;
plugins.commandPalette.enable = true;
plugins.experiments.enable = true;
plugins.betterInvites.enable = true;
plugins.fakeNitro.enable = true;
};
}; };
in {
environment.systemPackages = [discord];
}; };
} }