mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54: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
|
xdg-utils
|
||||||
zathura
|
zathura
|
||||||
zeal
|
zeal
|
||||||
|
|
||||||
# terminal
|
# terminal
|
||||||
socat
|
socat
|
||||||
sshuttle
|
sshuttle
|
||||||
|
@ -59,9 +58,6 @@
|
||||||
keychain
|
keychain
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable firmware update daemon
|
|
||||||
services.fwupd.enable = true;
|
|
||||||
|
|
||||||
programs.wireshark = {
|
programs.wireshark = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.wireshark; # enable the gui
|
package = pkgs.wireshark; # enable the gui
|
||||||
|
|
|
@ -36,7 +36,6 @@
|
||||||
wheel # python development
|
wheel # python development
|
||||||
]))
|
]))
|
||||||
shellcheck
|
shellcheck
|
||||||
topgrade
|
|
||||||
ycmd
|
ycmd
|
||||||
woeusb-ng
|
woeusb-ng
|
||||||
];
|
];
|
||||||
|
|
|
@ -18,6 +18,7 @@ in
|
||||||
printing.enable = true;
|
printing.enable = true;
|
||||||
sway.enable = true;
|
sway.enable = true;
|
||||||
sync.enable = true;
|
sync.enable = true;
|
||||||
|
update.enable = true;
|
||||||
webcam.enable = true;
|
webcam.enable = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
./printing
|
./printing
|
||||||
./sway
|
./sway
|
||||||
./sync
|
./sync
|
||||||
|
./update
|
||||||
./webcam
|
./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