Prepare config for flake usage
This commit is contained in:
parent
f6ac5c862a
commit
f9d537522d
3 changed files with 3 additions and 28 deletions
|
@ -46,9 +46,9 @@
|
|||
ZSH_TMUX_CONFIG=/etc/tmux.conf
|
||||
'';
|
||||
promptInit = ''
|
||||
if [ -n "$IN_NIX_SHELL" ]; then
|
||||
if [ "$SHLVL" "!= 1" ]; then
|
||||
setopt PROMPT_SUBST
|
||||
RPROMPT+='[nix]'
|
||||
RPROMPT+='[depth-$\{SHLVL\}]'
|
||||
fi
|
||||
'';
|
||||
};
|
||||
|
@ -131,6 +131,7 @@
|
|||
######################################## Housekeeping ###########################################
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = "git+https://gitea.sinerva.eu/VSinerva/nixos-conf.git?ref=main&shallow=1";
|
||||
dates = "04:00";
|
||||
randomizedDelaySec = "30min";
|
||||
allowReboot = true;
|
||||
|
@ -147,7 +148,6 @@
|
|||
"flakes"
|
||||
];
|
||||
auto-optimise-store = true;
|
||||
tarball-ttl = 0;
|
||||
};
|
||||
gc = {
|
||||
automatic = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue