prism & fzf to modules
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
imports = [
|
||||
./nh.nix
|
||||
./nvf.nix
|
||||
./fzf.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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 = [
|
||||
./steam.nix
|
||||
./prism.nix
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user