refactor(treewide)

This commit is contained in:
ooks-io 2024-06-11 22:37:17 +12:00
parent 25d48ac2ac
commit c4fc882042
99 changed files with 634 additions and 477 deletions

View file

@ -0,0 +1,10 @@
{
imports = [
./cursor.nix
./fonts.nix
./gtk.nix
./qt.nix
./theme.nix
./wallpaper.nix
];
}

View file

@ -17,7 +17,7 @@ let
};
in
{
options.ooknet.theme.fonts = {
options.ooknet.fonts = {
enable = lib.mkEnableOption "Whether to enable font profiles";
monospace = mkFontOption "monospace";
regular = mkFontOption "regular";

View file

@ -5,5 +5,5 @@ let
in
{
options.ooknet.gtk.enable = mkEnableOption;
options.ooknet.gtk.enable = mkEnableOption "";
}

View file

@ -0,0 +1,8 @@
{
imports = [
./editor.nix
./multiplexer.nix
./shell.nix
./tools.nix
];
}

8
home/options/default.nix Normal file
View file

@ -0,0 +1,8 @@
{
imports = [
./appearance
./console
./desktop
./profiles
];
}

View file

@ -0,0 +1,15 @@
{
imports = [
./binds.nix
./browser.nix
./communication.nix
./creative.nix
./gaming.nix
./media.nix
./productivity.nix
./security.nix
./terminal.nix
./tools.nix
./wayland.nix
];
}

View file

@ -9,5 +9,6 @@ in
factorio.enable = mkEnableOption "";
bottles.enable = mkEnableOption "";
lutris.enable = mkEnableOption "";
wine.enable = mkEnableOption "";
};
}

View file

@ -7,5 +7,6 @@ in
{
options.ooknet.terminal = {
foot.enable = mkEnableOption "";
kitty.enable = mkEnableOption "";
};
}

View file

@ -6,7 +6,7 @@ let
in
{
ooknet.wayland = {
options.ooknet.wayland = {
enable = mkEnableOption "";
compositor = mkOption {
type = nullOr (enum [ "hyprland" ]);

View file

@ -0,0 +1,6 @@
{
imports = [
./desktop.nix
./console.nix
];
}