Update nixos-desktop

This commit is contained in:
iFargle 2024-01-12 16:49:57 +09:00
parent 2bf5e811eb
commit 9a40ef10a0

View file

@ -1,10 +1,11 @@
{ inputs, config, lib, pkgs, modulesPath, desktop, username, platform, ... }: {
{ inputs, config, lib, pkgs, modulesPath, desktop, hostname, username, platform, ... }: {
imports = [
./disks.nix
../../common/modules/secureboot.nix
../../common/modules/ssh-luks.nix
../../common/services/openrazer.nix
../../common/services/podman.nix
../../common/services/tailscale-autoconnect.service
];
# steam, nvidia-x11, etc
nixpkgs.config.allowUnfree = true;
@ -85,17 +86,4 @@
pkgs.android-udev-rules
];
# Generic Tailscale configs are in /nixos/common/services/tailscale.nix
# Set up the secrets file:
sops.secrets."tailscale_keys/nixos-desktop" = {
owner = "root";
sopsFile = ../../../secrets/tailscale.yaml;
restartUnits = [
"tailscaled.service"
"tailscaled-autoconnect.service"
];
};
services.tailscale.authKeyFile = "/run/secrets/tailscale_keys/nixos-desktop";
# networking.firewall.allowedTCPPorts = [ 22 ];
}