prism & fzf to modules

This commit is contained in:
smayzy 2025-07-08 17:31:23 +02:00
parent eebe36a2b0
commit 3bb89d0b97
6 changed files with 39 additions and 4 deletions

View File

@ -34,7 +34,6 @@
btop
thunderbird
lf
fzf
file
qalculate-qt
baobab

View File

@ -10,6 +10,8 @@
smayzy = {
nvidia.enable = true;
steam.enable = true;
prism.enable = true;
fzf.enable = true;
};
home-manager = {
@ -71,7 +73,6 @@
obsidian
samrewritten
libsForQt5.kdenlive
prismlauncher
floorp
komikku
librewolf
@ -83,8 +84,6 @@
stylix.enable = true;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
programs.fzf.keybindings = true;
services.flatpak = {
enable = true;
update.onActivation = true;

View File

@ -3,5 +3,6 @@
imports = [
./nh.nix
./nvf.nix
./fzf.nix
];
}

View File

@ -0,0 +1,18 @@
{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.fzf.enable = mkOption {
type = types.bool;
default = false;
description = "use fzf";
};
config = mkIf config.smayzy.fzf.enable {
environment.systemPackages = with pkgs; [
fzf
];
programs.fzf.keybindings = true;
};
}

View File

@ -2,5 +2,6 @@
{
imports = [
./steam.nix
./prism.nix
];
}

View File

@ -0,0 +1,17 @@
{ lib, config, pkgs, ... }:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.prism.enable = mkOption {
type = types.bool;
default = false;
description = "prismlauncher";
};
config = mkIf config.smayzy.prism.enable {
environment.systemPackages = with pkgs; [
prismlauncher
];
};
}