adding flatpak support

This commit is contained in:
2024-09-01 15:12:26 +02:00
parent 32138b17d7
commit c368538b2e
2 changed files with 26 additions and 1 deletions

View File

@@ -7,6 +7,8 @@
# Home manager
home-manager.url = "github:nix-community/home-manager/release-24.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
# Managing flatpak apps
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=v0.4.1";
};
outputs = {
@@ -20,6 +22,7 @@
# HP Spectre x360 2018
nixosConfigurations.spectre = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./hosts/spectre-x360-2018
home-manager.nixosModules.home-manager
@@ -29,6 +32,7 @@
home-manager.users.remy.imports = [
./users/remy.nix
inputs.nix-flatpak.homeManagerModules.nix-flatpak
];
}
];
@@ -42,7 +46,9 @@
# };
## Home Manager configurations here?
# TODO
## Useful nix build tools
# iso builder TODO
};
}