Update nixos-desktop
This commit is contained in:
parent
2bf5e811eb
commit
9a40ef10a0
1 changed files with 2 additions and 14 deletions
|
@ -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 ];
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue