disable btrbk; install pixelflasher from my flake
This commit is contained in:
parent
6cc04504a4
commit
91165ea563
5 changed files with 38 additions and 24 deletions
24
flake.lock
generated
24
flake.lock
generated
|
@ -1001,6 +1001,29 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"pixelflasher": {
|
||||||
|
"inputs": {
|
||||||
|
"flake-parts": [
|
||||||
|
"flake-parts"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1741157109,
|
||||||
|
"narHash": "sha256-yoOMkH0n7e3UQSEAHHDuoBRDbJhnSymjt3gtoA8mMkI=",
|
||||||
|
"owner": "cything",
|
||||||
|
"repo": "pixelflasher-flake",
|
||||||
|
"rev": "400c423071a4807ac01152a1060b75df4a11cc2d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cything",
|
||||||
|
"repo": "pixelflasher-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"pre-commit-hooks": {
|
"pre-commit-hooks": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
|
@ -1078,6 +1101,7 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable_3",
|
"nixpkgs-stable": "nixpkgs-stable_3",
|
||||||
"nixvim": "nixvim",
|
"nixvim": "nixvim",
|
||||||
"nvim-github-theme": "nvim-github-theme",
|
"nvim-github-theme": "nvim-github-theme",
|
||||||
|
"pixelflasher": "pixelflasher",
|
||||||
"rust-overlay": "rust-overlay",
|
"rust-overlay": "rust-overlay",
|
||||||
"sops-nix": "sops-nix",
|
"sops-nix": "sops-nix",
|
||||||
"treefmt": "treefmt",
|
"treefmt": "treefmt",
|
||||||
|
|
|
@ -78,6 +78,11 @@
|
||||||
url = "github:nix-community/nix-index-database";
|
url = "github:nix-community/nix-index-database";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
pixelflasher = {
|
||||||
|
url = "github:cything/pixelflasher-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
inputs.flake-parts.follows = "flake-parts";
|
||||||
|
};
|
||||||
|
|
||||||
nvim-github-theme = {
|
nvim-github-theme = {
|
||||||
url = "github:projekt0n/github-nvim-theme";
|
url = "github:projekt0n/github-nvim-theme";
|
||||||
|
|
|
@ -98,6 +98,8 @@
|
||||||
libllvm
|
libllvm
|
||||||
])
|
])
|
||||||
nix-output-monitor
|
nix-output-monitor
|
||||||
|
wl-clipboard-rs
|
||||||
|
pixelflasher
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.feh.enable = true;
|
programs.feh.enable = true;
|
||||||
|
|
|
@ -217,7 +217,6 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
powerOnBoot = true;
|
powerOnBoot = true;
|
||||||
};
|
};
|
||||||
services.blueman.enable = true;
|
|
||||||
|
|
||||||
my.backup = {
|
my.backup = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -236,25 +235,6 @@
|
||||||
sshKeyFile = config.sops.secrets."rsyncnet/id_ed25519".path;
|
sshKeyFile = config.sops.secrets."rsyncnet/id_ed25519".path;
|
||||||
};
|
};
|
||||||
|
|
||||||
services.btrbk.instances.local = {
|
|
||||||
onCalendar = "hourly";
|
|
||||||
# only create snapshots automatically. backups are triggered manually with `btrbk resume`
|
|
||||||
snapshotOnly = true;
|
|
||||||
settings = {
|
|
||||||
snapshot_preserve_min = "latest";
|
|
||||||
target_preserve = "30d";
|
|
||||||
target_preserve_min = "2d";
|
|
||||||
target = "/mnt/target/btr_backup/ytnix";
|
|
||||||
stream_compress = "zstd";
|
|
||||||
stream_compress_level = "8";
|
|
||||||
snapshot_dir = "/snapshots";
|
|
||||||
subvolume = {
|
|
||||||
"/home" = { };
|
|
||||||
"/" = { };
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extest.enable = true;
|
extest.enable = true;
|
||||||
|
@ -293,6 +273,7 @@
|
||||||
fontconfig
|
fontconfig
|
||||||
libxkbcommon
|
libxkbcommon
|
||||||
zlib
|
zlib
|
||||||
|
libz
|
||||||
libxml2
|
libxml2
|
||||||
dbus
|
dbus
|
||||||
freetype
|
freetype
|
||||||
|
|
|
@ -11,12 +11,14 @@ importedOverlays
|
||||||
(
|
(
|
||||||
final: prev:
|
final: prev:
|
||||||
let
|
let
|
||||||
pkgFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg};
|
# nixpkgsFrom = flake: pkg: flake.legacyPackages.${prev.system}.${pkg};
|
||||||
stable = inputs.nixpkgs-stable;
|
pkgFrom = flake: pkgFrom' flake "default";
|
||||||
|
pkgFrom' = flake: pkg: flake.packages.${prev.system}.${pkg};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
conduwuit =
|
conduwuit =
|
||||||
inputs.conduwuit.packages.x86_64-linux.static-x86_64-linux-musl-all-features-x86_64-haswell-optimised;
|
pkgFrom' inputs.conduwuit "static-x86_64-linux-musl-all-features-x86_64-haswell-optimised";
|
||||||
|
pixelflasher = pkgFrom inputs.pixelflasher;
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
]
|
]
|
Loading…
Add table
Reference in a new issue