better consistency, add dotfiles for takamaki and new features

This commit is contained in:
greyweather committed 2026-08-31 01:10:23 +01:00
1 parent 023fc0c424
commit 5c2a328858
35 files changed
+2455 -190

No files matched your search

+12 -6
View File
@@ -1,6 +1,6 @@
{ inputs, self, ... }: {
flake.homeModules.global = { lib, config, pkgs, ... }: {
nix.gc = {
nix.gc = lib.mkIf (!config.features.applications.cli.nh.enable) {
automatic = true;
persistent = true;
dates = "Sun 05:00";
@@ -25,18 +25,24 @@
username = "grey";
homeDirectory = "/home/${config.home.username}";
file = inputs.helpers.homeFilesFromStringAttrs {
dir = ".local/bin";
attrs = config.features.applications.shellScripts;
exec = true;
};
file = inputs.helpers.localBinFromStringAttrs config.features.applications.shellScripts;
};
targets.genericLinux.enable = config.info.isStandalone;
xdg = {
enable = true;
localBinInPath = true;
portal = lib.mkIf (config.info.isStandalone) {
enable = true;
xdgOpenUsePortal = true;
config.common.default = "*";
extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-gnome ];
};
};
services.gnome-keyring.enable = config.info.isStandalone;
programs = {
git = {
enable = true;