add nixcord module and tt-discord
This commit is contained in:
parent
726f27c55b
commit
0c6d8533f2
4 changed files with 105 additions and 2 deletions
12
flake.nix
12
flake.nix
|
|
@ -3,6 +3,7 @@
|
|||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
base16.url = "github:SenchoPens/base16.nix";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
nixcord.url = "github:4evy/nixcord";
|
||||
tt-schemes = {
|
||||
url = "github:tinted-theming/schemes";
|
||||
flake = false;
|
||||
|
|
@ -11,6 +12,10 @@
|
|||
url = "github:tinted-theming/tinted-terminal";
|
||||
flake = false;
|
||||
};
|
||||
tt-discord = {
|
||||
url = "https://git.lucy.rip/lucy/tinted-discord.git";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
};
|
||||
outputs =
|
||||
|
|
@ -19,12 +24,15 @@
|
|||
nixpkgs,
|
||||
base16,
|
||||
home-manager,
|
||||
nixcord,
|
||||
...
|
||||
}@inputs:
|
||||
{
|
||||
nixosConfigurations.nerv = nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs; };
|
||||
modules = [
|
||||
|
||||
# set the theme
|
||||
./theme.nix
|
||||
({ pkgs, ... }: {
|
||||
config.theming.theme = "gruvbox-dark-hard";
|
||||
|
|
@ -33,11 +41,11 @@
|
|||
})
|
||||
base16.nixosModule
|
||||
({ config, ... }: { scheme = "${config.theming.theme}"; })
|
||||
|
||||
# import nixos & hm configuration
|
||||
./modules/hosts/nerv/configuration.nix
|
||||
home-manager.nixosModules.home-manager
|
||||
{
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.extraSpecialArgs = { inherit inputs; };
|
||||
imports = [
|
||||
./modules/hosts/nerv/home.nix
|
||||
|
|
|
|||
86
modules/hosts/nerv/#home.nix#
Normal file
86
modules/hosts/nerv/#home.nix#
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
c = config.scheme.withHashtag;
|
||||
in
|
||||
{
|
||||
home-manager.users.lucy = {
|
||||
home.packages = with pkgs; [
|
||||
nixd
|
||||
nixfmt
|
||||
clang
|
||||
kdePackages.qtdeclarative
|
||||
];
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
home.stateVersion = "26.05";
|
||||
home.pointerCursor = {
|
||||
enable = true;
|
||||
name = "macOS";
|
||||
package = pkgs.apple-cursor;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
colorScheme = "dark";
|
||||
theme = {
|
||||
name = "adw-gtk3-dark";
|
||||
package = pkgs.adw-gtk3;
|
||||
};
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.papirus-icon-theme;
|
||||
};
|
||||
font = {
|
||||
name = config.theming.font;
|
||||
package = config.theming.fontPackage;
|
||||
size = 12;
|
||||
};
|
||||
cursorTheme.name = "macOS";
|
||||
cursorTheme.size = 24;
|
||||
gtk3.extraCss = ''
|
||||
@define-color theme_bg_color ${c.base00};
|
||||
@define-color theme_fg_color ${c.base05};
|
||||
@define-color theme_base_color ${c.base00};
|
||||
@define-color theme_text_color ${c.base05};
|
||||
@define-color theme_selected_bg_color ${c.base0D};
|
||||
@define-color theme_selected_fg_color ${c.base00};
|
||||
@define-color insensitive_bg_color ${c.base01};
|
||||
@define-color insensitive_fg_color ${c.base03};
|
||||
@define-color borders ${c.base02};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
gtk4.extraCss = ''
|
||||
@define-color window_bg_color ${c.base00};
|
||||
@define-color window_fg_color ${c.base05};
|
||||
@define-color view_bg_color ${c.base00};
|
||||
@define-color view_fg_color ${c.base05};
|
||||
@define-color headerbar_bg_color ${c.base01};
|
||||
@define-color headerbar_fg_color ${c.base05};
|
||||
@define-color headerbar_border_color ${c.base02};
|
||||
@define-color sidebar_bg_color ${c.base01};
|
||||
@define-color sidebar_fg_color ${c.base05};
|
||||
@define-color card_bg_color ${c.base01};
|
||||
@define-color card_fg_color ${c.base05};
|
||||
@define-color popover_bg_color ${c.base01};
|
||||
@define-color popover_fg_color ${c.base05};
|
||||
@define-color dialog_bg_color ${c.base01};
|
||||
@define-color dialog_fg_color ${c.base05};
|
||||
@define-color accent_bg_color ${c.base0D};
|
||||
@define-color accent_fg_color ${c.base00};
|
||||
@define-color accent_color ${c.base0D};
|
||||
@define-color destructive_bg_color ${c.base08};
|
||||
@define-color destructive_color ${c.base08};
|
||||
@define-color warning_color ${c.base0A};
|
||||
@define-color error_color ${c.base08};
|
||||
@define-color success_color ${c.base0B};
|
||||
'';
|
||||
};
|
||||
dconf.settings."org/gnome/desktop/interface".color-scheme = "prefer-dark";
|
||||
};
|
||||
}
|
||||
1
modules/hosts/nerv/.#home.nix
Symbolic link
1
modules/hosts/nerv/.#home.nix
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
lucy@nerv.2718:1788209064
|
||||
8
modules/programs/nixcord.nix
Normal file
8
modules/programs/nixcord.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ inputs, ... }: {
|
||||
imports = [ inputs.nixcord.homeModules.nixcord ];
|
||||
programs.nixcord = {
|
||||
enable = true;
|
||||
discord.vencord.enable = true;
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue