Compare commits
4 Commits
f6f505cc03
...
aa1807e17c
| Author | SHA1 | Date | |
|---|---|---|---|
| aa1807e17c | |||
| 84ac992e26 | |||
| 45a0c0ccf5 | |||
| 362d9e744a |
8
flake.lock
generated
8
flake.lock
generated
@@ -28,11 +28,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794148728,
|
||||
"narHash": "sha256-OodFhoTLSaf67hlHrfF24MGxJLYa6+Mnap0Phi5Wo7Y=",
|
||||
"lastModified": 1794672526,
|
||||
"narHash": "sha256-r6vKRLhiij+fNQdDY2XhmYH+KtqXDWTGEjUR28FFQ1c=",
|
||||
"ref": "refs/heads/main",
|
||||
"rev": "f8d74267a42b39e31009f9d35e00ba30d6c34829",
|
||||
"revCount": 5,
|
||||
"rev": "24e78099cc14da3ee732719a6d5fdab150fa52c5",
|
||||
"revCount": 7,
|
||||
"type": "git",
|
||||
"url": "https://git.voidarc.co.uk/adumh00man/hyprland-dendritic"
|
||||
},
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
core
|
||||
networking
|
||||
hyprland
|
||||
theming
|
||||
];
|
||||
in {
|
||||
imports = modules;
|
||||
|
||||
@@ -9,16 +9,19 @@
|
||||
];
|
||||
});
|
||||
# PerSystem, gives access to self' and inputs', as well as some helper functions
|
||||
perSystem = {
|
||||
inputs',
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
perSystem = {pkgs, ...}: {
|
||||
# Simple wrapper for foot, sets background color to bright red
|
||||
packages.foot = inputs.wrappers.wrappers.foot.wrap {
|
||||
packages.foot = let
|
||||
fira-mono = pkgs.nerd-fonts.fira-mono;
|
||||
font-config = pkgs.makeFontsConf {
|
||||
fontDirectories = [fira-mono];
|
||||
};
|
||||
in
|
||||
inputs.wrappers.wrappers.foot.wrap {
|
||||
inherit pkgs;
|
||||
env."FONTCONFIG_FILE" = "${font-config}";
|
||||
settings = {
|
||||
colors-dark.background = "FF0000";
|
||||
main.font = "FiraMono Nerd Font:size=18";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@@ -16,14 +16,9 @@
|
||||
# Override input pacakge (using inputs' for right version)
|
||||
packages.hyprland = inputs'.hyprland.packages.default.override {
|
||||
# Change runtimePkgs to add custom foot version
|
||||
runtimePkgs = with pkgs;
|
||||
[
|
||||
waybar
|
||||
]
|
||||
# ++ adds two sets together
|
||||
++ (with self'.packages; [
|
||||
foot
|
||||
]);
|
||||
runtimePkgs = {
|
||||
foot = self'.packages.foot;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
42
modules/system/theming/default.nix
Normal file
42
modules/system/theming/default.nix
Normal 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";
|
||||
};
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user