2023-01-20 07:42:31 +00:00
|
|
|
{ config, pkgs, ... }:
|
2022-05-22 08:27:02 +00:00
|
|
|
{
|
2022-05-22 08:59:04 +00:00
|
|
|
imports = [
|
2022-05-22 09:03:25 +00:00
|
|
|
./fs.nix
|
|
|
|
];
|
2022-05-23 07:07:08 +00:00
|
|
|
|
2023-01-20 00:13:13 +00:00
|
|
|
sane.roles.client = true;
|
2023-01-20 07:42:31 +00:00
|
|
|
sane.services.wg-home.enable = true;
|
|
|
|
sane.services.wg-home.ip = config.sane.hosts.by-name."lappy".wg-home.ip;
|
2023-01-20 00:13:13 +00:00
|
|
|
|
2023-01-30 08:32:55 +00:00
|
|
|
# sane.guest.enable = true;
|
2022-08-01 07:23:49 +00:00
|
|
|
sane.gui.sway.enable = true;
|
2023-01-06 10:04:51 +00:00
|
|
|
sane.persist.enable = true;
|
2022-06-24 07:10:07 +00:00
|
|
|
boot.loader.efi.canTouchEfiVariables = false;
|
2022-08-01 07:23:49 +00:00
|
|
|
sane.image.extraBootFiles = [ pkgs.bootpart-uefi-x86_64 ];
|
2022-06-07 00:35:28 +00:00
|
|
|
|
2023-03-04 08:08:37 +00:00
|
|
|
sane.programs.guiApps.suggestedPrograms = [
|
|
|
|
"desktopGuiApps"
|
|
|
|
"stepmania"
|
|
|
|
];
|
2023-02-10 00:47:10 +00:00
|
|
|
|
2022-10-23 13:48:39 +00:00
|
|
|
sops.secrets.colin-passwd = {
|
2023-01-19 23:23:41 +00:00
|
|
|
sopsFile = ../../../secrets/lappy.yaml;
|
2022-10-23 13:48:39 +00:00
|
|
|
neededForUsers = true;
|
|
|
|
};
|
2022-10-18 12:29:36 +00:00
|
|
|
|
2022-06-27 08:28:17 +00:00
|
|
|
# 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";
|
|
|
|
};
|
|
|
|
|
2022-06-25 04:10:49 +00:00
|
|
|
# TODO: only here for debugging
|
|
|
|
# services.ipfs.enable = true;
|
|
|
|
|
2022-05-28 20:14:48 +00:00
|
|
|
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
|
|
|
|
system.stateVersion = "21.05";
|
2022-05-22 08:27:02 +00:00
|
|
|
}
|