big home manager dotfile restructure

This commit is contained in:
2025-11-03 21:12:34 -06:00
parent 9b758fdd96
commit 0fc3f1f501
18 changed files with 109 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ in {
folders = {
"holocron" = {
path = "/home/blake/holocron";
devices = ["lugia" "zygarde" "CEN-IT-07"];
devices = ["lugia" "zygarde" "CEN-IT-07" "snowbelle"];
id = "5voxg-c3he2";
versioning = {
type = "staggered";
@@ -50,6 +50,7 @@ in {
maxAge = "0";
};
};
ignorePerms = true;
ignorePatterns = [
"// syncthing"
"/.versions"

View File

@@ -0,0 +1,11 @@
{
pkgs,
lib,
config,
...
}: {
imports = [
./librewolf
./firefox
];
}

View File

@@ -6,13 +6,7 @@
}: {
imports = [
./core
./librewolf
./firefox
./kitty
./dunst
./waybar
./stylix
./hypr
./tofi
./browser
./desktop
];
}

View File

@@ -0,0 +1,15 @@
{
pkgs,
lib,
config,
...
}: {
imports = [
./kitty
./dunst
./waybar
./stylix
./hypr
./tofi
];
}

View File

@@ -290,8 +290,6 @@ in {
brightnessctl
bluetuith
bluez
nerd-fonts.ubuntu
nerd-fonts.ubuntu-mono
];
};
}

View File

@@ -0,0 +1,25 @@
{
pkgs,
lib,
config,
...
}: let
program = "<program name>";
cfg = config.dots.${program};
in {
options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}";
};
config = lib.mkIf cfg.enable {
# enable with home-manager
programs.${program} = {
enable = true;
};
# just install package
home.packages = with pkgs; [];
};
}

View File

@@ -0,0 +1,12 @@
{
pkgs,
lib,
config,
...
}: {
imports = [
./gnucash
./libreoffice
#./gaming
];
}

View File

@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}: let
program = "gnucash";
cfg = config.dots.${program};
in {
options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}";
};
config = lib.mkIf cfg.enable {
# just install package
home.packages = with pkgs; [gnucash];
};
}

View File

@@ -0,0 +1,20 @@
{
pkgs,
lib,
config,
...
}: let
program = "libreoffice";
cfg = config.dots.${program};
in {
options.dots.${program} = {
enable = lib.mkEnableOption "enables ${program}";
};
config = lib.mkIf cfg.enable {
# just install package
home.packages = with pkgs; [libreoffice-qt6];
};
}

View File

@@ -28,6 +28,8 @@
git.enable = true;
xdg.enable = true;
libreoffice.enable = true;
gnucash.enable = true;
};