diff options
author | sefidel <contact@sefidel.net> | 2024-01-23 00:20:54 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-01-23 01:05:04 +0900 |
commit | b311d7f8459fe1e90f7b0cbf5862b22a2cbedff5 (patch) | |
tree | d7b8af8e685699a1e66afcb10b668363d604106e /lib/home_configurations_as_packages.nix | |
parent | b670811db1c645c9c4effff1829e90b380318427 (diff) | |
download | nixrc-b311d7f8459fe1e90f7b0cbf5862b22a2cbedff5.tar.gz nixrc-b311d7f8459fe1e90f7b0cbf5862b22a2cbedff5.zip |
feat(lib)!: refactor
Diffstat (limited to 'lib/home_configurations_as_packages.nix')
-rw-r--r-- | lib/home_configurations_as_packages.nix | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/home_configurations_as_packages.nix b/lib/home_configurations_as_packages.nix deleted file mode 100644 index 55d3e55..0000000 --- a/lib/home_configurations_as_packages.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ self, ... } @ inputs: - -let - pkgs = import inputs.unstable { system = "x86_64-linux"; }; - - inherit (pkgs.lib) genAttrs mapAttrs'; - - hostNames = __attrNames self.homeConfigurations; - attrHostNames = genAttrs hostNames (name: "home/config/${name}"); - configs = mapAttrs' (name: pname: { name = pname; value = self.homeConfigurations.${name}.activationPackage; }) attrHostNames; -in -{ x86_64-linux = configs; } |