forked from Shinonome/dots-hyprland
organized
This commit is contained in:
@@ -52,7 +52,7 @@
|
|||||||
in {
|
in {
|
||||||
homeManagerModules = rec {
|
homeManagerModules = rec {
|
||||||
default = illogical-impulse;
|
default = illogical-impulse;
|
||||||
illogical-impulse = import ./modules/desktop/default.nix;
|
illogical-impulse = import ./modules/default.nix;
|
||||||
};
|
};
|
||||||
|
|
||||||
legacyPackages = eachSupportedSystem (pkgs: {
|
legacyPackages = eachSupportedSystem (pkgs: {
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./desktop/desktop.nix
|
||||||
|
./terminal/terminal.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
{
|
|
||||||
inputs,
|
|
||||||
self,
|
|
||||||
pkgs,
|
|
||||||
...
|
|
||||||
}: {
|
|
||||||
imports = [
|
|
||||||
./desktop.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -32,9 +32,6 @@ in {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
imports = lib.optionals cfg.simpleStarship [
|
|
||||||
../terminal/simple-starship.nix
|
|
||||||
];
|
|
||||||
# programs.hyprland = {
|
# programs.hyprland = {
|
||||||
# enable = true;
|
# enable = true;
|
||||||
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
# package = inputs.hyprland.packages.${pkgs.stdenv.hostPlatform.system}.hyprland;
|
||||||
|
|||||||
@@ -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;};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user