mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
refactor: move last legacy_modules to modules
This commit is contained in:
parent
d463f4d1af
commit
d50bbb3d12
49 changed files with 580 additions and 459 deletions
13
modules/programs/slack.nix
Normal file
13
modules/programs/slack.nix
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
# Enabled when: desktop & work
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgsUnstable,
|
||||
...
|
||||
}: {
|
||||
config = lib.mkIf (config.fireproof.desktop.enable && config.fireproof.work.enable) {
|
||||
environment.systemPackages = [
|
||||
pkgsUnstable.slack
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue