diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 00:54:12 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2021-01-03 00:54:12 +0100 |
commit | 22eee52de2b05938d7b9f9a89771894356278c96 (patch) | |
tree | dd9c6d7fb611652b79134d95fdbba19e6923fd1f /flake.nix | |
parent | b8def7bcc179ca9017034b9fa7ad8738183bf71e (diff) | |
download | nixos-22eee52de2b05938d7b9f9a89771894356278c96.tar nixos-22eee52de2b05938d7b9f9a89771894356278c96.tar.gz nixos-22eee52de2b05938d7b9f9a89771894356278c96.tar.bz2 nixos-22eee52de2b05938d7b9f9a89771894356278c96.tar.xz nixos-22eee52de2b05938d7b9f9a89771894356278c96.zip |
fix homeManagerModules & activation
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -107,7 +107,7 @@ | |||
107 | forAllSystems = f: mapAttrs f nixpkgs.legacyPackages; | 107 | forAllSystems = f: mapAttrs f nixpkgs.legacyPackages; |
108 | forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); | 108 | forAllUsers = genAttrs (unique (map accountUserName (attrNames self.nixosModules.accounts))); |
109 | 109 | ||
110 | activateHomeManagerConfigurations = forAllSystems (system: _pkgs: mapAttrs' (configName: hmConfig: nameValuePair "${configName}-activate" { type = "app"; program = "${hmConfig.activationPackage}/bin/activate"; }) self.homeManagerConfigurations); | 110 | activateHomeManagerConfigurations = forAllSystems (system: _pkgs: mapAttrs' (configName: hmConfig: nameValuePair "${configName}-activate" { type = "app"; program = "${hmConfig.home.activationPackage}/activate"; }) self.homeManagerConfigurations); |
111 | activateNixosConfigurations = forAllSystems (system: _pkgs: mapAttrs' (hostName: nixosConfig: nameValuePair "${hostName}-activate" { type = "app"; program = "${nixosConfig.config.system.build.toplevel}/bin/switch-to-configuration"; }) self.nixosConfigurations); | 111 | activateNixosConfigurations = forAllSystems (system: _pkgs: mapAttrs' (hostName: nixosConfig: nameValuePair "${hostName}-activate" { type = "app"; program = "${nixosConfig.config.system.build.toplevel}/bin/switch-to-configuration"; }) self.nixosConfigurations); |
112 | 112 | ||
113 | overlayPaths = recImport rec { dir = ./overlays; _import = (path: _name: dir + "/${path}"); } // { pkgs = ./pkgs; }; | 113 | overlayPaths = recImport rec { dir = ./overlays; _import = (path: _name: dir + "/${path}"); } // { pkgs = ./pkgs; }; |