From 771039f64d44a60f9691582fe559e26b431bbbe8 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sat, 13 Dec 2025 15:19:21 -0800 Subject: remove abstractions for managing users --- flake/hosts.nix | 19 ------------------- 1 file changed, 19 deletions(-) (limited to 'flake/hosts.nix') diff --git a/flake/hosts.nix b/flake/hosts.nix index 2a3f062..88be6dc 100644 --- a/flake/hosts.nix +++ b/flake/hosts.nix @@ -85,13 +85,6 @@ let name: conf: let inherit (conf) system hostconf; - adminUser = { - name = "fcuny"; - userinfo = { - email = "franck@fcuny.net"; - fullName = "Franck Cuny"; - }; - }; in { inherit name; @@ -101,12 +94,10 @@ let inherit system; specialArgs = { hostName = name; - inherit adminUser; inherit self; inherit inputs; }; modules = [ - { inherit adminUser; } { nixpkgs.pkgs = pkgs; nixpkgs.hostPlatform = system; @@ -129,14 +120,6 @@ let name: conf: let inherit (conf) system hostconf; - adminUser = { - name = "fcuny"; - uid = 1000; - userinfo = { - email = "franck@fcuny.net"; - fullName = "Franck Cuny"; - }; - }; in { inherit name; @@ -146,7 +129,6 @@ let inherit system; specialArgs = { hostName = name; - inherit adminUser; inherit self; hostConfigurations = mapAttrs' (name: conf: { inherit name; @@ -155,7 +137,6 @@ let inherit inputs; }; modules = [ - { inherit adminUser; } { system.configurationRevision = mkIf (self ? rev) self.rev; system.nixos.versionSuffix = mkForce "git.${substring 0 11 inputs.nixpkgs.rev}"; -- cgit v1.2.3