does it get better

This commit is contained in:
Sakooooo 2023-07-09 16:51:13 +03:00
parent 80951705f1
commit 1768c3349a
Signed by: sako
GPG key ID: 3FD715D87D7725E0
3 changed files with 22 additions and 0 deletions

View file

@ -23,6 +23,7 @@
}; };
apps = { apps = {
keepassxc.enable = true; keepassxc.enable = true;
nicotineplus.enable = true;
}; };
chat = { chat = {
discord.enable = true; discord.enable = true;

View file

@ -1,5 +1,6 @@
{ {
imports = [ imports = [
./keepassxc ./keepassxc
./nicotineplus
]; ];
} }

View file

@ -0,0 +1,20 @@
# ITS A FILE SHARING THING
# NOT A GOD DAMN ADDICTION
# IM NOT ADDICTED TO MUSIC
# I SWEAR
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.apps.nicotineplus;
in
{
options.modules.desktop.apps.nicotineplus = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
nicotine-plus
];
};
}