organized

This commit is contained in:
kenji
2025-08-13 08:39:37 -05:00
parent 490fb9ba35
commit 9d2d722bc6
5 changed files with 48 additions and 14 deletions
+6
View File
@@ -0,0 +1,6 @@
{
imports = [
./desktop/desktop.nix
./terminal/terminal.nix
];
}
-10
View File
@@ -1,10 +0,0 @@
{
inputs,
self,
pkgs,
...
}: {
imports = [
./desktop.nix
];
}
-3
View File
@@ -32,9 +32,6 @@ in {
};
};
config = mkIf cfg.enable {
imports = lib.optionals cfg.simpleStarship [
../terminal/simple-starship.nix
];
# programs.hyprland = {
# enable = true;
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
+41
View File
@@ -0,0 +1,41 @@
{
config,
lib,
inputs,
pkgs,
...
}: let
inherit
(lib)
mkIf
mkOption
types
;
cfg = config.programs.illogical-impulse;
in {
options = {
programs.illogical-impulse = {
settings = {
simpleStarship = {
enable = mkOption {
type = types.bool;
default = false;
description = ''
Uses Pure starship.
'';
};
};
};
};
};
imports = lib.mkIf cfg.settings.simpleStarship [
./simple-starship.nix
];
config = mkIf cfg.enable {
home.file = {
".config/starship.toml" = mkIf (!cfg.simpleStarship) {
source = builtins.path {path = ../../.config/starship.toml;};
};
};
};
}