nixos-config/configurations/nixos/vixen/default.nix
2024-10-22 18:05:06 -04:00

24 lines
652 B
Nix

{ flake, ... }:
let
inherit (flake) inputs;
inherit (inputs) self;
in
{
imports = [
self.nixosModules.default
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-p14s-amd-gen4
./configuration.nix
(self + /modules/nixos/linux/gui/gnome.nix)
(self + /modules/nixos/linux/gui/_1password.nix)
];
services.openssh.enable = true;
services.tailscale.enable = true;
programs.nix-ld.enable = true; # for vscode server
# Workaround the annoying `Failed to start Network Manager Wait Online` error on switch.
# https://github.com/NixOS/nixpkgs/issues/180175
systemd.services.NetworkManager-wait-online.enable = false;
}