add flatpak + nh

This commit is contained in:
do butterflies cry? 2026-02-16 09:34:17 +10:00
parent 921741546e
commit 821349be71
4 changed files with 15 additions and 11 deletions

View file

@ -24,6 +24,13 @@
];
};
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 7d --keep 3";
flake = "/home/me/flake"; # sets NH_OS_FLAKE variable for you
};
nix.settings = {
# make wheel group trusted users allows my "ae" user
# to import packages not signed by a trusted key

View file

@ -1,12 +1,12 @@
{...}: {
services.flatpak = {
remotes = [
{
location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
name = "flathub";
}
];
# DEBUG: remotes = [
# DEBUG: {
# DEBUG: location = "https://dl.flathub.org/repo/flathub.flatpakrepo";
# DEBUG: name = "flathub";
# DEBUG: }
# DEBUG: ];
uninstallUnmanaged = true;
# DEBUG: uninstallUnmanaged = true;
};
}