mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-12-21 19:24:15 +00:00
17 lines
379 B
Nix
17 lines
379 B
Nix
|
{ config, pkgs, lib, ... }:
|
||
|
let
|
||
|
cfg = config.sconfig._options_name_;
|
||
|
in
|
||
|
{
|
||
|
options.sconfig._options_name_ = lib.mkEnableOption "Do a Barrel Roll";
|
||
|
options.sconfig._options_name_ = lib.mkOption {
|
||
|
default = true;
|
||
|
type = lib.types.bool;
|
||
|
description = "Do a Barrel Roll";
|
||
|
};
|
||
|
|
||
|
config = lib.mkIf cfg {
|
||
|
environment.systemPackages = with pkgs; [ hello ];
|
||
|
};
|
||
|
}
|