add flatpak + nh

This commit is contained in:
do butterflies cry? 2026-02-16 09:34:17 +10:00
parent f7f31b1ad5
commit f34c8de388
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 = { nix.settings = {
# make wheel group trusted users allows my "ae" user # make wheel group trusted users allows my "ae" user
# to import packages not signed by a trusted key # to import packages not signed by a trusted key

View file

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

View file

@ -109,9 +109,6 @@
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
sddm-theme-corners sddm-theme-corners
# dependencies for my sddm theme:
# XXX: add these as a buildInput
# pkgs.libsForQt5.qt5.qtgraphicaleffects
]; ];
}; };

View file

@ -19,7 +19,7 @@
hexyl hexyl
# ASM # ASM
nasm nasm
# x86-manpages # DEBUG x86-manpages
# C Family # C Family
gcc gcc
clang clang