qtesting home man structure for macos support
This commit is contained in:
@@ -19,8 +19,10 @@ let
|
||||
timemachine = {
|
||||
browseable = true;
|
||||
"path" = "/holocron/archives/timemachine";
|
||||
#"valid users" = "blake";
|
||||
"public" = "no";
|
||||
"writeable" = "yes";
|
||||
#"force user" = "blake";
|
||||
"fruit:aapl" = "yes";
|
||||
"fruit:time machine" = "yes";
|
||||
"vfs objects" = "catia fruit streams_xattr";
|
||||
|
||||
@@ -240,7 +240,7 @@ in {
|
||||
description = "daily borg backup timer";
|
||||
wantedBy = ["timers.target"];
|
||||
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;
|
||||
};
|
||||
};
|
||||
@@ -251,7 +251,7 @@ in {
|
||||
enable = true;
|
||||
location = "/var/backup/mysql";
|
||||
user = "root";
|
||||
calendar = "*-*-* *:00:00";
|
||||
calendar = "*-*-* *:59:00";
|
||||
compressionAlg = "zstd";
|
||||
databases = config.services.mysql.ensureDatabases; # set to all databases defined in esure databases
|
||||
};
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
useUserPackages = true;
|
||||
useGlobalPkgs = true;
|
||||
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,
|
||||
pkgs,
|
||||
inputs,
|
||||
system,
|
||||
...
|
||||
}: let
|
||||
|
||||
|
||||
Reference in New Issue
Block a user