prism & fzf to modules
This commit is contained in:
parent
eebe36a2b0
commit
3bb89d0b97
@ -34,7 +34,6 @@
|
|||||||
btop
|
btop
|
||||||
thunderbird
|
thunderbird
|
||||||
lf
|
lf
|
||||||
fzf
|
|
||||||
file
|
file
|
||||||
qalculate-qt
|
qalculate-qt
|
||||||
baobab
|
baobab
|
||||||
|
|||||||
@ -10,6 +10,8 @@
|
|||||||
smayzy = {
|
smayzy = {
|
||||||
nvidia.enable = true;
|
nvidia.enable = true;
|
||||||
steam.enable = true;
|
steam.enable = true;
|
||||||
|
prism.enable = true;
|
||||||
|
fzf.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
@ -71,7 +73,6 @@
|
|||||||
obsidian
|
obsidian
|
||||||
samrewritten
|
samrewritten
|
||||||
libsForQt5.kdenlive
|
libsForQt5.kdenlive
|
||||||
prismlauncher
|
|
||||||
floorp
|
floorp
|
||||||
komikku
|
komikku
|
||||||
librewolf
|
librewolf
|
||||||
@ -83,8 +84,6 @@
|
|||||||
stylix.enable = true;
|
stylix.enable = true;
|
||||||
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/dracula.yaml";
|
||||||
|
|
||||||
programs.fzf.keybindings = true;
|
|
||||||
|
|
||||||
services.flatpak = {
|
services.flatpak = {
|
||||||
enable = true;
|
enable = true;
|
||||||
update.onActivation = true;
|
update.onActivation = true;
|
||||||
|
|||||||
@ -3,5 +3,6 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./nh.nix
|
./nh.nix
|
||||||
./nvf.nix
|
./nvf.nix
|
||||||
|
./fzf.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
18
modules/nix/base-cli/fzf.nix
Normal file
18
modules/nix/base-cli/fzf.nix
Normal 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;
|
||||||
|
};
|
||||||
|
}
|
||||||
@ -2,5 +2,6 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./steam.nix
|
./steam.nix
|
||||||
|
./prism.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
17
modules/nix/games/prism.nix
Normal file
17
modules/nix/games/prism.nix
Normal 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
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user