38 current 2024-04-18 09:17:02 23.11.20240405.72da83d 6.1.84 *
This commit is contained in:
parent
9232d199ab
commit
b6fd6c64e7
@ -43,6 +43,9 @@ in {
|
|||||||
sourceDirectories = ["${config.xdg.userDirs.extraConfig.XDG_WORKSPACES_DIR}"];
|
sourceDirectories = ["${config.xdg.userDirs.extraConfig.XDG_WORKSPACES_DIR}"];
|
||||||
repositories = [repo];
|
repositories = [repo];
|
||||||
excludeHomeManagerSymlinks = true;
|
excludeHomeManagerSymlinks = true;
|
||||||
|
extraConfig = {
|
||||||
|
archive_name_format = "{hostname}-workspaces-{now}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
retention = {
|
retention = {
|
||||||
keepDaily = 7;
|
keepDaily = 7;
|
||||||
@ -65,6 +68,9 @@ in {
|
|||||||
];
|
];
|
||||||
repositories = [repo];
|
repositories = [repo];
|
||||||
excludeHomeManagerSymlinks = true;
|
excludeHomeManagerSymlinks = true;
|
||||||
|
extraConfig = {
|
||||||
|
archive_name_format = "{hostname}-media-{now}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
retention = {
|
retention = {
|
||||||
keepDaily = 7;
|
keepDaily = 7;
|
||||||
@ -84,6 +90,9 @@ in {
|
|||||||
];
|
];
|
||||||
repositories = [repo];
|
repositories = [repo];
|
||||||
excludeHomeManagerSymlinks = true;
|
excludeHomeManagerSymlinks = true;
|
||||||
|
extraConfig = {
|
||||||
|
archive_name_format = "{hostname}-var-{now}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
retention = {
|
retention = {
|
||||||
keepDaily = 7;
|
keepDaily = 7;
|
||||||
|
|||||||
@ -14,7 +14,7 @@
|
|||||||
sudo nixos-rebuild switch --flake . &>nixos-switch.log || (
|
sudo nixos-rebuild switch --flake . &>nixos-switch.log || (
|
||||||
${pkgs.coreutils-full}/bin/cat nixos-switch.log | ${pkgs.gnugrep}/bin/grep --color error && false)
|
${pkgs.coreutils-full}/bin/cat nixos-switch.log | ${pkgs.gnugrep}/bin/grep --color error && false)
|
||||||
gen=$(nixos-rebuild list-generations | ${pkgs.gnugrep}/bin/grep current)
|
gen=$(nixos-rebuild list-generations | ${pkgs.gnugrep}/bin/grep current)
|
||||||
${pkgs.git}/bin/git commit -am "$gen"
|
${pkgs.git}/bin/git commit --no-gpg-sign -am "$gen"
|
||||||
popd
|
popd
|
||||||
'';
|
'';
|
||||||
in {
|
in {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user