mirror of https://git.jolheiser.com/dotnix.git
Compare commits
2 Commits
458bce68e6
...
724594d19a
Author | SHA1 | Date |
---|---|---|
jolheiser | 724594d19a | |
jolheiser | 82b9cfae5e |
|
@ -12,6 +12,7 @@
|
|||
./gpg.nix
|
||||
./git.nix
|
||||
./go.nix
|
||||
./gtk.nix
|
||||
./helix.nix
|
||||
./jq.nix
|
||||
./nushell.nix
|
||||
|
|
|
@ -0,0 +1,55 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.pointerCursor = {
|
||||
name = "catppuccin-cursors";
|
||||
package = pkgs.catppuccin-cursors.mochaLavender;
|
||||
size = 24;
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
iconTheme = {
|
||||
name = "Papirus-Dark";
|
||||
package = pkgs.catppuccin-papirus-folders.override {
|
||||
flavor = "mocha";
|
||||
accent = "lavender";
|
||||
};
|
||||
};
|
||||
theme = {
|
||||
name = "Catppuccin-Mocha-Compact-Lavender-Dark";
|
||||
package = pkgs.catppuccin-gtk.override {
|
||||
accents = ["lavender"];
|
||||
variant = "mocha";
|
||||
size = "compact";
|
||||
};
|
||||
};
|
||||
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
||||
gtk2.extraConfig = ''
|
||||
gtk-xft-antialias=1
|
||||
gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle="hintslight"
|
||||
gtk-xft-rgba="rgb"
|
||||
'';
|
||||
gtk3.extraConfig = {
|
||||
gtk-xft-antialias = 1;
|
||||
gtk-xft-hinting = 1;
|
||||
gtk-xft-hintstyle = "hintslight";
|
||||
gtk-xft-rgba = "rgb";
|
||||
};
|
||||
};
|
||||
|
||||
xdg = let
|
||||
themeDir = "${config.gtk.theme.package}/share/themes/${config.gtk.theme.name}";
|
||||
in
|
||||
lib.mkIf config.gtk.enable {
|
||||
configFile."gtk-4.0/assets" = {
|
||||
source = "${themeDir}/gtk-4.0/assets";
|
||||
recursive = true;
|
||||
};
|
||||
configFile."gtk-4.0/gtk.css".source = "${themeDir}/gtk-4.0/gtk.css";
|
||||
configFile."gtk-4.0/gtk-dark.css".source = "${themeDir}/gtk-4.0/gtk-dark.css";
|
||||
};
|
||||
}
|
22
flake.nix
22
flake.nix
|
@ -37,7 +37,12 @@
|
|||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
}: let
|
||||
userSecret = path: {
|
||||
file = path;
|
||||
owner = username;
|
||||
};
|
||||
in {
|
||||
config = {
|
||||
nixpkgs.overlays = [overlays];
|
||||
home-manager = {
|
||||
|
@ -49,18 +54,9 @@
|
|||
};
|
||||
};
|
||||
age.secrets = {
|
||||
ssh-config = {
|
||||
file = ./secrets/shared/ssh-config.age;
|
||||
owner = username;
|
||||
};
|
||||
ssh-config-work = {
|
||||
file = ./secrets/shared/ssh-config-work.age;
|
||||
owner = username;
|
||||
};
|
||||
spotify-pw = {
|
||||
file = ./secrets/shared/spotify-pw.age;
|
||||
owner = username;
|
||||
};
|
||||
ssh-config = userSecret ./secrets/shared/ssh-config.age;
|
||||
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
|
||||
spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue