refactor
This commit is contained in:
parent
66c05f9093
commit
45d6f4b0f3
205 changed files with 9040 additions and 342 deletions
22
modules/nixos/apps/etcher/default.nix
Normal file
22
modules/nixos/apps/etcher/default.nix
Normal file
|
@ -0,0 +1,22 @@
|
|||
{ options, config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
with lib.plusultra;
|
||||
let
|
||||
cfg = config.plusultra.apps.etcher;
|
||||
in
|
||||
{
|
||||
options.plusultra.apps.etcher = with types; {
|
||||
enable = mkBoolOpt false "Whether or not to enable etcher.";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = with pkgs;
|
||||
[
|
||||
# Etcher is currently broken in nixpkgs, temporarily replaced with
|
||||
# gnome disk utility.
|
||||
# etcher
|
||||
gnome.gnome-disk-utility
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue