restructure hm

This commit is contained in:
lucy 2026-09-01 00:28:18 +02:00
commit 7631b60120
6 changed files with 30 additions and 9 deletions

10
flake.lock generated
View file

@ -205,12 +205,16 @@
"tt-discord": {
"flake": false,
"locked": {
"narHash": "sha256-a94aaomwiDeaoFKy3YXGVu6iMuIHtxXoFtGAse8tFz8=",
"type": "file",
"lastModified": 1775215536,
"narHash": "sha256-tgavgso+bdyG9VRWR4D0qLqD7zsuaoLXh1CAL5SDgVg=",
"ref": "refs/heads/main",
"rev": "b6d440de0ce02178b2e9670e610a18fa4786ebc6",
"revCount": 5,
"type": "git",
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
},
"original": {
"type": "file",
"type": "git",
"url": "https://git.lucy.rip/lucy/tinted-discord.git"
}
},

View file

@ -13,7 +13,7 @@
flake = false;
};
tt-discord = {
url = "https://git.lucy.rip/lucy/tinted-discord.git";
url = "git+https://git.lucy.rip/lucy/tinted-discord.git";
flake = false;
};
@ -39,7 +39,7 @@
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.extraSpecialArgs = { inherit inputs; };
imports = [
home-manager.sharedModules = [
./modules/themeing
./modules/programs
];

View file

@ -58,7 +58,6 @@
isNormalUser = true;
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
packages = with pkgs; [
vesktop
google-chrome
];
};

View file

@ -5,5 +5,6 @@
./emacs.nix
./fuzzel.nix
./quickshell.nix
./nixcord.nix
];
}

View file

@ -18,6 +18,7 @@
extraConfig = ''
;;; -*- lexical-binding: t; -*-
(add-to-list 'default-frame-alist '(font . "${config.theming.font}-14"))
(setq make-backup-files nil)
(load-theme 'base16-${config.scheme.scheme-slug} t)
(use-package

View file

@ -1,8 +1,24 @@
{ inputs, config, lib, ... }: {
{
inputs,
config,
lib,
...
}:
{
imports = [ inputs.nixcord.homeModules.nixcord ];
programs.nixcord = {
enable = true;
discord.vencord.enable = true;
quickCss = (config.scheme inputs.tt-discord);
discord = {
vencord.enable = true;
krisp.enable = true;
};
quickCss = builtins.readFile (config.scheme inputs.tt-discord);
config = {
useQuickCss = true;
plugins = {
messageLogger.enable = true;
messageClickActions.enable = true;
};
};
};
}