changed rpi config
This commit is contained in:
14
flake.nix
14
flake.nix
@@ -32,12 +32,19 @@
|
||||
outputs = inputs@{ self, nixpkgs, nixpkgs-unstable, home-manager, nix-colors, stylix, nixos-cosmic, sops-nix, disko, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
system-arm = "aarch64-linux";
|
||||
overlay-unstable = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
config.allowUnfree = true;
|
||||
localSystem = { inherit system; };
|
||||
};
|
||||
};
|
||||
overlay-unstable-arm = final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
config.allowUnfree = true;
|
||||
localSystem = { inherit system-arm; };
|
||||
};
|
||||
};
|
||||
in
|
||||
{
|
||||
nixosConfigurations = {
|
||||
@@ -163,12 +170,7 @@
|
||||
pkgs = nixpkgs.legacyPackages.aarch64-linux;
|
||||
extraSpecialArgs = { inherit inputs nix-colors; };
|
||||
modules = [
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ final: prev: {
|
||||
unstable = import nixpkgs-unstable {
|
||||
config.allowUnfree = true;
|
||||
localSystem = { inherit "aarch64-linux"; };
|
||||
};
|
||||
} ]; })
|
||||
({ config, pkgs, ... }: { nixpkgs.overlays = [ overlay-unstable ]; })
|
||||
|
||||
./hosts/p-th-rpi-01/home.nix
|
||||
];
|
||||
|
Reference in New Issue
Block a user