nix-flatpak
This commit is contained in:
parent
c76075c9e4
commit
8e26fc2520
1 changed files with 74 additions and 36 deletions
21
flake.nix
21
flake.nix
|
|
@ -9,16 +9,20 @@
|
|||
url = "github:nix-community/home-manager/release-26.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
nix-flatpak = {
|
||||
url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = inputs @ {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
nix-flatpak,
|
||||
...
|
||||
}: let
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
phostron = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
|
|
@ -33,12 +37,14 @@
|
|||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
users.coyote = ./users/coyote/home.nix;
|
||||
users.coyote.imports = [
|
||||
./users/coyote/home.nix
|
||||
nix-flatpak.homeManagerModules.nix-flatpak
|
||||
];
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
devShells.${system}.default = let
|
||||
pkgs = import nixpkgs {
|
||||
|
|
@ -52,8 +58,11 @@
|
|||
})
|
||||
];
|
||||
};
|
||||
in pkgs.mkShell {
|
||||
buildInputs = with pkgs; [ openblas ];
|
||||
in {
|
||||
pkgs.mkShell = {
|
||||
buildInputs = with pkgs; [openblas];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Reference in a new issue