mirror of
https://forgejo.merr.is/annika/nixos.git
synced 2025-12-12 13:03:28 -05:00
Switched To A New/Modified Structure
Based heavily on https://github.com/nmasur/dotfiles
This commit is contained in:
parent
634a129840
commit
99a16590b3
25 changed files with 495 additions and 703 deletions
18
modules/common/applications/element.nix
Normal file
18
modules/common/applications/element.nix
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{ config, pkgs, lib, ...}:
|
||||
{
|
||||
options = {
|
||||
element = {
|
||||
enable = lib.mkEnableOption {
|
||||
description = "Enable Element";
|
||||
default = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
config = lib.mkIf (config.gui.enable && config.element.enable) {
|
||||
home-manager.users.${config.user} = {
|
||||
home.packages = [
|
||||
pkgs.element-desktop
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue