nix/nixos/common/modules/installer.nix

9 lines
317 B
Nix
Raw Normal View History

2023-09-22 01:06:56 +02:00
{ config, desktop, lib, pkgs, username, ... }:
let
ifExists = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
2024-07-14 12:52:59 +02:00
install-system = pkgs.writeScriptBin "install-system" ${builtins.readFile ../../../docs/install.sh}";
2023-09-22 01:06:56 +02:00
in
{
config.environment.systemPackages = [ install-system ];
2024-07-14 12:52:59 +02:00
}