poprawienie flake'a i dodanie licencji

This commit is contained in:
2025-12-06 23:06:45 +01:00
parent ba24e36c7a
commit 8940198d02
3 changed files with 21 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
{
description = "TUI for managing GarandsOS' hosts configuration";
description = "TUI for managing GarandsOS' hosts enabled modules";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
@@ -23,11 +23,7 @@
nixpkgs,
naersk,
fenix,
lib,
cfg,
}: let
inherit (lib) mkOption mkIf types;
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
@@ -49,6 +45,13 @@
};
nixosModules.garandos-tui = {
config,
lib,
...
}: let
inherit (lib) mkOption mkIf types;
cfg = config.programs.garandos-tui;
in {
options.programs.garandos-tui = {
enable = mkOption {
type = types.bool;