2026-07-25

This commit is contained in:
root 2026-07-25 09:16:53 -03:00
parent f733a5238c
commit c461f04c13
No known key found for this signature in database
4 changed files with 18 additions and 9 deletions

View file

@ -9,18 +9,18 @@
...
}:
{
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
sops.defaultSopsFile = ./secrets/home.yaml;
sops.age.keyFile = "/.persist/root/.config/sops/age/keys.txt";
sops.secrets."root/ssh/desktop" = {
path = "/root/.ssh/desktop";
mode = "0600";
};
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
boot.initrd.systemd.enable = true;
boot.loader.systemd-boot.enable = true;

View file

@ -56,6 +56,7 @@ in
keepEnv = true;
persist = true;
setEnv = [
"HOME=/root"
"EDITOR"
"TERM"
];

View file

@ -26,6 +26,13 @@ in
homeManagerModule
];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
nix.nixPath = [ "nixpkgs=${pkgs.path}" ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
sops.defaultSopsFile = ./secrets/sandbox.yaml;
sops.age.keyFile = "/.persist/secrets/age-keys.txt";
sops.secrets."root-password-hash" = {
@ -187,17 +194,17 @@ in
{
mountPoint = "/var";
image = "var.img";
size = 256;
size = 2 * 1024;
}
{
mountPoint = "/nix/.rw-store";
image = "nix-store-overlay.img";
size = 512;
size = 2 * 1024;
}
{
mountPoint = "/.persist";
image = "persist.img";
size = 1;
size = 2 * 1024;
}
];
shares = [

View file

@ -19,6 +19,7 @@
services.tailscale-netns = {
enable = true;
instances.work = {
extraDaemonFlags = [ "--accept-routes=false" ];
};
};