First rewrite for the home-manager unstable overlay
This commit is contained in:
parent
42e9b468c0
commit
9f83f97492
24
flake.nix
24
flake.nix
|
@ -33,6 +33,23 @@
|
|||
mksdImage = host: (self.nixosConfigurations.${host}.extendModules {
|
||||
modules = [ "${nixpkgs}/nixos/modules/installer/sd-card/sd-image-aarch64.nix" ];
|
||||
}).config.system.build.sdImage;
|
||||
# required for home-manager only setup {
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = import inputs.nixpkgs-unstable {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
};
|
||||
pkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
overlays = [
|
||||
overlay-unstable
|
||||
];
|
||||
};
|
||||
# }
|
||||
in
|
||||
{
|
||||
images = {
|
||||
|
@ -114,12 +131,7 @@
|
|||
};
|
||||
homeConfigurations = {
|
||||
"zweili@co-ws-con4" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = import inputs.nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
config = {
|
||||
allowUnfree = true;
|
||||
};
|
||||
};
|
||||
inherit pkgs;
|
||||
modules = [
|
||||
"${inputs.self}/home-manager/profiles/work-wsl.nix"
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue