Compare commits

..

4 Commits

Author SHA1 Message Date
aa1807e17c added cursors 2026-11-14 16:31:48 +00:00
84ac992e26 added gtk theme 2026-11-14 16:28:04 +00:00
45a0c0ccf5 updated hyprland override syntax 2026-11-14 16:14:23 +00:00
362d9e744a added fira-mono to foot 2026-11-14 16:01:06 +00:00
5 changed files with 68 additions and 27 deletions

8
flake.lock generated
View File

@@ -28,11 +28,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1794148728, "lastModified": 1794672526,
"narHash": "sha256-OodFhoTLSaf67hlHrfF24MGxJLYa6+Mnap0Phi5Wo7Y=", "narHash": "sha256-r6vKRLhiij+fNQdDY2XhmYH+KtqXDWTGEjUR28FFQ1c=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "f8d74267a42b39e31009f9d35e00ba30d6c34829", "rev": "24e78099cc14da3ee732719a6d5fdab150fa52c5",
"revCount": 5, "revCount": 7,
"type": "git", "type": "git",
"url": "https://git.voidarc.co.uk/adumh00man/hyprland-dendritic" "url": "https://git.voidarc.co.uk/adumh00man/hyprland-dendritic"
}, },

View File

@@ -13,6 +13,7 @@
core core
networking networking
hyprland hyprland
theming
]; ];
in { in {
imports = modules; imports = modules;

View File

@@ -9,17 +9,20 @@
]; ];
}); });
# PerSystem, gives access to self' and inputs', as well as some helper functions # PerSystem, gives access to self' and inputs', as well as some helper functions
perSystem = { perSystem = {pkgs, ...}: {
inputs', # Simple wrapper for foot, sets background color to bright red
pkgs, packages.foot = let
... fira-mono = pkgs.nerd-fonts.fira-mono;
}: { font-config = pkgs.makeFontsConf {
# Simple wrapper for foot, sets background color to bright red fontDirectories = [fira-mono];
packages.foot = inputs.wrappers.wrappers.foot.wrap { };
inherit pkgs; in
settings = { inputs.wrappers.wrappers.foot.wrap {
colors-dark.background = "FF0000"; inherit pkgs;
env."FONTCONFIG_FILE" = "${font-config}";
settings = {
main.font = "FiraMono Nerd Font:size=18";
};
}; };
};
}; };
} }

View File

@@ -1,7 +1,7 @@
{moduleWithSystem, ...}: { {moduleWithSystem, ...}: {
# moduleWithSystem for Hyprland # moduleWithSystem for Hyprland
flake.nixosModules.hyprland = moduleWithSystem ({self', ...}: { flake.nixosModules.hyprland = moduleWithSystem ({self', ...}: {
# Native wrapper for hyprland instead of environment.systemPackages # Native wrapper for hyprland instead of environment.systemPackages
programs.hyprland = { programs.hyprland = {
enable = true; enable = true;
package = self'.packages.hyprland; package = self'.packages.hyprland;
@@ -13,17 +13,12 @@
self', self',
... ...
}: { }: {
# Override input pacakge (using inputs' for right version) # Override input pacakge (using inputs' for right version)
packages.hyprland = inputs'.hyprland.packages.default.override { packages.hyprland = inputs'.hyprland.packages.default.override {
# Change runtimePkgs to add custom foot version # Change runtimePkgs to add custom foot version
runtimePkgs = with pkgs; runtimePkgs = {
[ foot = self'.packages.foot;
waybar };
]
# ++ adds two sets together
++ (with self'.packages; [
foot
]);
}; };
}; };
} }

View File

@@ -0,0 +1,42 @@
{moduleWithSystem, ...}: {
flake.nixosModules.theming = moduleWithSystem ({pkgs, ...}: {
environment.systemPackages = with pkgs; [
(catppuccin-gtk.override {
accents = ["mauve"];
size = "compact";
tweaks = ["rimless"];
variant = "mocha";
})
(catppuccin-papirus-folders.override {
accent = "mauve";
})
bibata-cursors
nwg-look
];
environment.variables = {
XCURSOR_THEME = "Bibata-Modern-Ice";
XCURSOR_SIZE = "20";
};
programs = {
xfconf.enable = true;
dconf = {
enable = true;
profiles.user.databases = [
{
lockAll = false;
settings = {
"org/gnome/desktop/interface" = {
gtk-theme = "catppuccin-mocha-mauve-compact+rimless";
icon-theme = "Papirus";
color-scheme = "prefer-dark";
cursor-name = "Bibata-Modern-Ice";
};
};
}
];
};
};
});
}