profile/udpdate: unify settings

This commit is contained in:
Felix Buehler 2023-04-02 16:28:09 +02:00
parent dfc6eaebc4
commit 09f70c8537
5 changed files with 20 additions and 5 deletions

View file

@ -51,7 +51,6 @@
xdg-utils
zathura
zeal
# terminal
socat
sshuttle
@ -59,9 +58,6 @@
keychain
];
# Enable firmware update daemon
services.fwupd.enable = true;
programs.wireshark = {
enable = true;
package = pkgs.wireshark; # enable the gui

View file

@ -36,7 +36,6 @@
wheel # python development
]))
shellcheck
topgrade
ycmd
woeusb-ng
];

View file

@ -18,6 +18,7 @@ in
printing.enable = true;
sway.enable = true;
sync.enable = true;
update.enable = true;
webcam.enable = true;
};
}

View file

@ -15,6 +15,7 @@
./printing
./sway
./sync
./update
./webcam
];
}

View file

@ -0,0 +1,18 @@
{ config, lib, pkgs, ... }:
let
cfg = config.my.profiles.update;
in
{
options.my.profiles.update = with lib; {
enable = mkEnableOption "update profile";
};
config = lib.mkIf cfg.enable {
# Enable firmware update daemon
services.fwupd.enable = true;
environment.systemPackages = with pkgs; [
topgrade
];
};
}