lappy: lift the x86_64-linux
wrangling out of the modules
This commit is contained in:
parent
b31972444e
commit
e252f8623c
19
flake.nix
19
flake.nix
|
@ -68,16 +68,10 @@
|
|||
};
|
||||
|
||||
nixosConfigurations.lappy = nixpkgs.lib.nixosSystem {
|
||||
pkgs = import nixpkgs {
|
||||
system = "x86_64-linux";
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
pkgs = self.packages.x86_64-linux.pkgs;
|
||||
system = "x86_64-linux";
|
||||
specialArgs = { home-manager = home-manager; };
|
||||
modules = [
|
||||
({ pkgs, ... }: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
})
|
||||
./configuration.nix
|
||||
./lappy
|
||||
];
|
||||
|
@ -120,11 +114,12 @@
|
|||
# })
|
||||
];
|
||||
};
|
||||
# packages = nixpkgs.lib.genAttrs nixpkgs.lib.platforms.all (system:
|
||||
# {
|
||||
# pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
|
||||
# }
|
||||
# );
|
||||
packages = nixpkgs.lib.genAttrs nixpkgs.lib.platforms.all (system:
|
||||
{
|
||||
pkgs = import nixpkgs { inherit system; config.allowUnfree = true; };
|
||||
}
|
||||
);
|
||||
|
||||
# flake-utils.lib.eachDefaultSystem (system:
|
||||
# let pkgs = nixpkgs.legacyPackages.${system};
|
||||
# in {
|
||||
|
|
Loading…
Reference in New Issue
Block a user