mirror of
https://github.com/zephrynis/nix-flake.git
synced 2026-08-17 21:45:53 +00:00
Tailscale with --operator=zephrynis so the daemon is drivable without sudo (Trayscale + tailscale switch/login from a plain shell), plus the Trayscale systray app. Imported into the nixos-pc host. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/core.nix
|
|
../../modules/desktop.nix
|
|
../../modules/nvidia.nix
|
|
../../modules/gaming.nix
|
|
../../modules/tailscale.nix
|
|
];
|
|
|
|
networking.hostName = "nixos-pc";
|
|
|
|
# systemd-boot lives on this install's OWN ESP (on the 1TB WD SSD) and only
|
|
# serves NixOS generations. rEFInd on the NVMe ESP stays the top-level OS
|
|
# picker and auto-detects this as a new entry — do not add Windows/Arch
|
|
# entries here.
|
|
boot.loader = {
|
|
systemd-boot = {
|
|
enable = true;
|
|
configurationLimit = 10;
|
|
};
|
|
efi.canTouchEfiVariables = true;
|
|
};
|
|
|
|
users.users.zephrynis = {
|
|
isNormalUser = true;
|
|
description = "zephrynis";
|
|
extraGroups = [ "wheel" "networkmanager" "video" "input" ];
|
|
shell = pkgs.fish; # end-4 dots are fish-centric
|
|
};
|
|
programs.fish.enable = true;
|
|
|
|
time.timeZone = "Europe/London";
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
# Set to the NixOS release of the ISO used at install time; never change afterwards.
|
|
system.stateVersion = "26.05";
|
|
}
|