Initial commit
This commit is contained in:
commit
cfcc57a8bd
353 changed files with 18756 additions and 0 deletions
36
module/aspect/nix-flatpak.nix
Normal file
36
module/aspect/nix-flatpak.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
flake-file.inputs = {
|
||||
nix-flatpak.url = "github:gmodena/nix-flatpak/?ref=latest";
|
||||
};
|
||||
|
||||
den.aspects = {
|
||||
nix-flatpak = {
|
||||
nixos =
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-flatpak.nixosModules.nix-flatpak
|
||||
];
|
||||
services = {
|
||||
flatpak = {
|
||||
enable = true;
|
||||
update.onActivation = false; # update when rebuild
|
||||
};
|
||||
};
|
||||
};
|
||||
homeManager =
|
||||
{ inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
||||
];
|
||||
services = {
|
||||
flatpak = {
|
||||
enable = true;
|
||||
update.onActivation = false;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue