Add peek
This commit is contained in:
parent
ca9c039575
commit
1b2095eb99
5 changed files with 23 additions and 7 deletions
|
@ -1,3 +1,6 @@
|
|||
{
|
||||
imports = [ ./screenkey.nix ];
|
||||
imports = [
|
||||
./peek.nix
|
||||
./screenkey.nix
|
||||
];
|
||||
}
|
||||
|
|
14
nix/modules/nixos/features/desktop/peek.nix
Normal file
14
nix/modules/nixos/features/desktop/peek.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
options.features.desktop.peek.enable = lib.mkEnableOption "Enable peek";
|
||||
|
||||
config = lib.mkIf config.features.desktop.peek.enable {
|
||||
environment.systemPackages = with pkgs; [ peek ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue