forked from mirrors_public/oddlama_nix-config
chore: fix statix lint
This commit is contained in:
parent
76afde26ef
commit
ecd7eece1f
2 changed files with 5 additions and 7 deletions
|
@ -6,13 +6,9 @@
|
||||||
}: let
|
}: let
|
||||||
inherit (lib) optionals;
|
inherit (lib) optionals;
|
||||||
in {
|
in {
|
||||||
home.persistence."/state".files =
|
home.persistence."/state".files = optionals config.programs.ssh.enable [
|
||||||
[
|
".ssh/known_hosts"
|
||||||
# nothing yet ...
|
];
|
||||||
]
|
|
||||||
++ optionals config.programs.ssh.enable [
|
|
||||||
".ssh/known_hosts"
|
|
||||||
];
|
|
||||||
|
|
||||||
home.persistence."/state".directories =
|
home.persistence."/state".directories =
|
||||||
[
|
[
|
||||||
|
|
|
@ -20,6 +20,8 @@
|
||||||
tags = "tag -l";
|
tags = "tag -l";
|
||||||
t = "tag -s -m ''";
|
t = "tag -s -m ''";
|
||||||
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
|
fixup = ''!f() { TARGET=$(git rev-parse "$1"); git commit --fixup=$TARGET ''${@:2} && EDITOR=true git rebase -i --gpg-sign --autostash --autosquash $TARGET^; }; f'';
|
||||||
|
# An alias that uses the previous commit message by default.
|
||||||
|
# Useful when you mess up entering the signing password and git aborts.
|
||||||
commit-reuse-message = ''!git commit --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
|
commit-reuse-message = ''!git commit --edit --file "$(git rev-parse --git-dir)"/COMMIT_EDITMSG'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue