better consistency, add dotfiles for takamaki and new features
This commit is contained in:
35 files changed
+2455
-190
No files matched your search
+12
-6
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user