8 lines
318 B
Nix
8 lines
318 B
Nix
{ config, desktop, lib, pkgs, username, ... }:
|
|
let
|
|
ifExists = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
|
install-system = pkgs.writeScriptBin "install-system" "${builtins.readFile ../../../docs/install.sh}";
|
|
in
|
|
{
|
|
config.environment.systemPackages = [ install-system ];
|
|
}
|