OSAuto, add extraPkgs option to OS
This commit is contained in:
parent
3a49fecf1d
commit
0ce82962bb
1 changed files with 7 additions and 6 deletions
|
|
@ -1,12 +1,13 @@
|
||||||
{ config, pkgs, lib, hostname, usernameList, ... }:
|
{ config, pkgs, lib, hostname, usernameList, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
options = {
|
options.system = {
|
||||||
system.timezone = lib.mkOption { default = "America/Los_Angeles"; };
|
timezone = lib.mkOption { default = "America/Los_Angeles"; };
|
||||||
system.extraFonts = lib.mkOption { default = []; };
|
extraFonts = lib.mkOption { default = []; };
|
||||||
system.isNonEFI = lib.mkEnableOption
|
extraPkgs = lib.mkOption { default = []; };
|
||||||
|
isNonEFI = lib.mkEnableOption
|
||||||
"Enable if you are running a non-EFI system";
|
"Enable if you are running a non-EFI system";
|
||||||
system.users.bigWheels = lib.mkOption { default = []; };
|
users.bigWheels = lib.mkOption { default = []; };
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkMerge [
|
config = lib.mkMerge [
|
||||||
|
|
@ -33,7 +34,7 @@
|
||||||
git
|
git
|
||||||
neovim
|
neovim
|
||||||
xdg-user-dirs
|
xdg-user-dirs
|
||||||
];
|
] ++ config.system.extraPkgs;
|
||||||
|
|
||||||
# XDG Compliance
|
# XDG Compliance
|
||||||
nix.settings.use-xdg-base-directories = true;
|
nix.settings.use-xdg-base-directories = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue