qtesting home man structure for macos support
This commit is contained in:
@@ -19,8 +19,10 @@ let
|
|||||||
timemachine = {
|
timemachine = {
|
||||||
browseable = true;
|
browseable = true;
|
||||||
"path" = "/holocron/archives/timemachine";
|
"path" = "/holocron/archives/timemachine";
|
||||||
|
#"valid users" = "blake";
|
||||||
"public" = "no";
|
"public" = "no";
|
||||||
"writeable" = "yes";
|
"writeable" = "yes";
|
||||||
|
#"force user" = "blake";
|
||||||
"fruit:aapl" = "yes";
|
"fruit:aapl" = "yes";
|
||||||
"fruit:time machine" = "yes";
|
"fruit:time machine" = "yes";
|
||||||
"vfs objects" = "catia fruit streams_xattr";
|
"vfs objects" = "catia fruit streams_xattr";
|
||||||
|
|||||||
@@ -240,7 +240,7 @@ in {
|
|||||||
description = "daily borg backup timer";
|
description = "daily borg backup timer";
|
||||||
wantedBy = ["timers.target"];
|
wantedBy = ["timers.target"];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "*-*-* *:01:00"; # every hour, at :01 (one min after db dump)
|
OnCalendar = "*-*-* *:00:00"; # every hour, at :01 (one min after db dump)
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -251,7 +251,7 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
location = "/var/backup/mysql";
|
location = "/var/backup/mysql";
|
||||||
user = "root";
|
user = "root";
|
||||||
calendar = "*-*-* *:00:00";
|
calendar = "*-*-* *:59:00";
|
||||||
compressionAlg = "zstd";
|
compressionAlg = "zstd";
|
||||||
databases = config.services.mysql.ensureDatabases; # set to all databases defined in esure databases
|
databases = config.services.mysql.ensureDatabases; # set to all databases defined in esure databases
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
users = {
|
users = {
|
||||||
"blake" = import ./home.nix;
|
"blake" = import ./dots/bundles/nixos.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
11
users/blake/dots/bundles/darwin.nix
Normal file
11
users/blake/dots/bundles/darwin.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
17
users/blake/dots/bundles/nixos.nix
Normal file
17
users/blake/dots/bundles/nixos.nix
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
{
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
pkgs,
|
||||||
|
inputs,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
../../home.nix
|
||||||
|
];
|
||||||
|
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
htop
|
||||||
|
];
|
||||||
|
}
|
||||||
@@ -3,6 +3,7 @@
|
|||||||
lib,
|
lib,
|
||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user