Personal NixOS flake

feat: attempt to outpout a homeManagerConfiguration

+21 -2
+21 -2
flake.nix
··· 66 }; 67 68 in 69 - flake-parts.lib.mkFlake {inherit inputs;} { 70 systems = [ "x86_64-linux" ]; 71 imports = [ easy-hosts.flakeModule ]; 72 ··· 88 # >:3c 89 hosts = builtins.mapAttrs (name: buildHost) myHosts; 90 }; 91 - }; 92 }
··· 66 }; 67 68 in 69 + flake-parts.lib.mkFlake {inherit inputs;} ({ withSystem, ...}: { 70 systems = [ "x86_64-linux" ]; 71 imports = [ easy-hosts.flakeModule ]; 72 ··· 88 # >:3c 89 hosts = builtins.mapAttrs (name: buildHost) myHosts; 90 }; 91 + flake.homeConfigurations."emily" = withSystem "x86_64-linux" ({inputs', system, ...}: 92 + home-manager.lib.homeManagerConfiguration 93 + { 94 + # pkgs = nixpkgs.legacyPackages.x86_64-linux; 95 + pkgs = import nixpkgs { 96 + inherit system; 97 + overlays = with inputs; [ 98 + emacs-overlay.overlay 99 + ]; 100 + allowUnfree = true; 101 + }; 102 + extraSpecialArgs = { 103 + inherit inputs'; 104 + inherit inputs; 105 + }; 106 + modules = [ 107 + ./home/emily 108 + ]; 109 + }); 110 + }); 111 }