mirror of
https://github.com/srid/nixos-config.git
synced 2026-01-08 09:17:23 +08:00
24 lines
652 B
Nix
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;
|
|
}
|