mirror of
https://github.com/Moe1369/nix-fleet.git
synced 2026-04-24 23:59:07 +02:00
user dynamic
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
{ inputs, ... }: {
|
||||
flake.lib.mkHost = { system, user, host, extraModules ? [] }:
|
||||
let
|
||||
fullnames = {
|
||||
mo = "Mohamed Chrayed";
|
||||
nadine = "Nadine Peukert";
|
||||
administrator = "Administrator";
|
||||
};
|
||||
in
|
||||
inputs.nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
specialArgs = {
|
||||
inherit user host;
|
||||
fullname = fullnames.${user};
|
||||
pkgs-unstable = import inputs.nixpkgs-unstable {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
|
||||
Reference in New Issue
Block a user