mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 01:44:40 +02:00
profile/udpdate: unify settings
This commit is contained in:
parent
dfc6eaebc4
commit
09f70c8537
5 changed files with 20 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
wheel # python development
|
||||
]))
|
||||
shellcheck
|
||||
topgrade
|
||||
ycmd
|
||||
woeusb-ng
|
||||
];
|
||||
|
|
|
@ -18,6 +18,7 @@ in
|
|||
printing.enable = true;
|
||||
sway.enable = true;
|
||||
sync.enable = true;
|
||||
update.enable = true;
|
||||
webcam.enable = true;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
./printing
|
||||
./sway
|
||||
./sync
|
||||
./update
|
||||
./webcam
|
||||
];
|
||||
}
|
||||
|
|
18
profiles/update/default.nix
Normal file
18
profiles/update/default.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue