mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 13:51:22 -05:00
Adding KCalc and maybe more stuffs?
This commit is contained in:
parent
74877a1c6c
commit
7913ff2919
4 changed files with 37 additions and 19 deletions
|
|
@ -4,6 +4,7 @@
|
|||
./discord.nix
|
||||
./element.nix
|
||||
./firefox.nix
|
||||
./kcalc.nix
|
||||
./kitty.nix
|
||||
./netbird.nix
|
||||
./openrgb.nix
|
||||
|
|
|
|||
16
modules/common/applications/kcalc.nix
Normal file
16
modules/common/applications/kcalc.nix
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
kcalc = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable KCalc";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.kcalc.enable) {
|
||||
environment.systemPackages = [
|
||||
pkgs.kdePackages.kcalc
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue