This commit is contained in:
Ly-sec
2025-10-28 14:29:49 +01:00
4 changed files with 13 additions and 4 deletions
+2 -1
View File
@@ -1,9 +1,10 @@
---
name: Bug Report
about: Report a bug from noctalia-shell
title: "[Bug] "
title: ''
labels: bug
assignees: ''
---
### Description
+3 -2
View File
@@ -1,9 +1,10 @@
---
name: Feature Request
about: Suggest a new feature or improvement
title: "[Feature] "
labels: enhancement
title: ''
labels: feature
assignees: ''
---
### Feature Description
+1
View File
@@ -52,6 +52,7 @@
...
}: {
imports = [./nix/home-module.nix];
programs.noctalia-shell.package = lib.mkDefault self.packages.${pkgs.system}.default;
programs.noctalia-shell.app2unit.package =
lib.mkDefault
nixpkgs.legacyPackages.${pkgs.system}.app2unit;
+7 -1
View File
@@ -16,6 +16,11 @@ in {
options.programs.noctalia-shell = {
enable = lib.mkEnableOption "Noctalia shell configuration";
package = lib.mkOption {
type = lib.types.nullOr lib.types.package;
description = "The noctalia-shell package to use";
};
settings = lib.mkOption {
type = with lib.types;
nullOr (oneOf [
@@ -98,7 +103,8 @@ in {
useApp2Unit = cfg.settings.appLauncher.useApp2Unit or false;
in
lib.mkIf cfg.enable {
home.packages = lib.optional useApp2Unit cfg.app2unit.package;
home.packages = lib.optional useApp2Unit cfg.app2unit.package
++ lib.optional (cfg.package != null) cfg.package;
xdg.configFile = {
"noctalia/settings.json" = {