nix-files/machines/desko/default.nix

27 lines
671 B
Nix
Raw Normal View History

{ pkgs, ... }:
{
imports = [
./fs.nix
];
colinsane.home-manager.extraPackages = [
pkgs.electron
];
2022-06-07 00:35:28 +00:00
colinsane.gui.sway.enable = true;
2022-06-10 08:43:48 +00:00
colinsane.services.duplicity.enable = true;
# needed to use libimobiledevice/ifuse, for iphone sync
services.usbmuxd.enable = true;
2022-06-10 08:43:48 +00:00
sops.secrets.duplicity_passphrase = {
sopsFile = ../../secrets/desko.yaml;
};
2022-06-07 00:35:28 +00:00
boot.loader.systemd-boot.enable = true;
boot.loader.systemd-boot.configurationLimit = 40; # keep this many generations
boot.loader.efi.canTouchEfiVariables = true;
# docs: https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion
system.stateVersion = "21.05";
}