big home manager dotfile restructure
This commit is contained in:
@@ -40,7 +40,7 @@ in {
|
|||||||
folders = {
|
folders = {
|
||||||
"holocron" = {
|
"holocron" = {
|
||||||
path = "/home/blake/holocron";
|
path = "/home/blake/holocron";
|
||||||
devices = ["lugia" "zygarde" "CEN-IT-07"];
|
devices = ["lugia" "zygarde" "CEN-IT-07" "snowbelle"];
|
||||||
id = "5voxg-c3he2";
|
id = "5voxg-c3he2";
|
||||||
versioning = {
|
versioning = {
|
||||||
type = "staggered";
|
type = "staggered";
|
||||||
@@ -50,6 +50,7 @@ in {
|
|||||||
maxAge = "0";
|
maxAge = "0";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
ignorePerms = true;
|
||||||
ignorePatterns = [
|
ignorePatterns = [
|
||||||
"// syncthing"
|
"// syncthing"
|
||||||
"/.versions"
|
"/.versions"
|
||||||
|
|||||||
11
users/blake/dots/browser/default.nix
Normal file
11
users/blake/dots/browser/default.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./librewolf
|
||||||
|
./firefox
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -6,13 +6,7 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./core
|
./core
|
||||||
./librewolf
|
./browser
|
||||||
./firefox
|
./desktop
|
||||||
./kitty
|
|
||||||
./dunst
|
|
||||||
./waybar
|
|
||||||
./stylix
|
|
||||||
./hypr
|
|
||||||
./tofi
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
15
users/blake/dots/desktop/default.nix
Normal file
15
users/blake/dots/desktop/default.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./kitty
|
||||||
|
./dunst
|
||||||
|
./waybar
|
||||||
|
./stylix
|
||||||
|
./hypr
|
||||||
|
./tofi
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -290,8 +290,6 @@ in {
|
|||||||
brightnessctl
|
brightnessctl
|
||||||
bluetuith
|
bluetuith
|
||||||
bluez
|
bluez
|
||||||
nerd-fonts.ubuntu
|
|
||||||
nerd-fonts.ubuntu-mono
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
25
users/blake/dots/programs/.default.nix
Normal file
25
users/blake/dots/programs/.default.nix
Normal 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; [];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
12
users/blake/dots/programs/default.nix
Normal file
12
users/blake/dots/programs/default.nix
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
config,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
./gnucash
|
||||||
|
./libreoffice
|
||||||
|
#./gaming
|
||||||
|
];
|
||||||
|
}
|
||||||
20
users/blake/dots/programs/gnucash/default.nix
Normal file
20
users/blake/dots/programs/gnucash/default.nix
Normal 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];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
20
users/blake/dots/programs/libreoffice/default.nix
Normal file
20
users/blake/dots/programs/libreoffice/default.nix
Normal 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];
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -28,6 +28,8 @@
|
|||||||
git.enable = true;
|
git.enable = true;
|
||||||
xdg.enable = true;
|
xdg.enable = true;
|
||||||
|
|
||||||
|
libreoffice.enable = true;
|
||||||
|
gnucash.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user