modernized homeConfig call
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ self, inputs, ... }:
|
{ withSystem, self, inputs, ... }:
|
||||||
let
|
let
|
||||||
username = "john";
|
username = "john";
|
||||||
hostname = "john-pc-ubuntu";
|
hostname = "john-pc-ubuntu";
|
||||||
@@ -46,7 +46,7 @@ in
|
|||||||
test-push
|
test-push
|
||||||
selfPkgs.neovim-min
|
selfPkgs.neovim-min
|
||||||
# ${selfPkgs}.my-neovim
|
# ${selfPkgs}.my-neovim
|
||||||
selfPkgs.richPrinter
|
# selfPkgs.richPrinter
|
||||||
selfPkgs.janus-ca
|
selfPkgs.janus-ca
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -109,10 +109,9 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.homeConfigurations."${hostname}" = inputs.home-manager.lib.homeManagerConfiguration {
|
flake.homeConfigurations."john@john-pc-ubuntu" = withSystem "x86_64-linux" (ctx@{ config, inputs', ...}:
|
||||||
pkgs = import inputs.nixpkgs { system = "x86_64-linux"; };
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
modules = with inputs.self.modules; [
|
pkgs = inputs'.nixpkgs.legacyPackages;
|
||||||
homeManager."${hostname}"
|
modules = [ inputs.self.modules.homeManager."${hostname}" ];
|
||||||
];
|
});
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user