colin
8ff7e22ac8
might want to be smarter about this, but for now it lets us reuse large packages built on desko instead of rebuilding them locally.
30 lines
899 B
Nix
30 lines
899 B
Nix
{ pkgs, ... }:
|
|
{
|
|
imports = [
|
|
./fs.nix
|
|
];
|
|
|
|
# sane.users.guest.enable = true;
|
|
sane.gui.sway.enable = true;
|
|
sane.impermanence.enable = true;
|
|
sane.nixcache.enable = true;
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
|
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
|
|
|
|
# default config: https://man.archlinux.org/man/snapper-configs.5
|
|
# defaults to something like:
|
|
# - hourly snapshots
|
|
# - auto cleanup; keep the last 10 hourlies, last 10 daylies, last 10 monthlys.
|
|
services.snapper.configs.nix = {
|
|
# TODO: for the impermanent setup, we'd prefer to just do /nix/persist,
|
|
# but that also requires setting up the persist dir as a subvol
|
|
subvolume = "/nix";
|
|
};
|
|
|
|
# TODO: only here for debugging
|
|
# services.ipfs.enable = true;
|
|
|
|
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
|
|
system.stateVersion = "21.05";
|
|
}
|