From 9b16da0b41ac7b512d6c1e8df211959844e74d71 Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 31 Dec 2023 18:01:54 +0900 Subject: [PATCH] Add temporary extra hosts to nixos-desktop for imaging --- README.md | 1 + nixos/hosts/nixos-desktop/default.nix | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/README.md b/README.md index bbe25dcc..ea930b67 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,7 @@ nix develop -c /etc/nixos/git/docs/setup.sh * [ ] Find a way to have magit save login credentials ## Desktop / GUI +* [ ] Syncthing + Logseq * [ ] vscodium and user-config.js file? * extensionsFromVscodeMarketplace * https://github.com/jasoncrevier/nixos-config/blob/main/home-manager/home.nix diff --git a/nixos/hosts/nixos-desktop/default.nix b/nixos/hosts/nixos-desktop/default.nix index 92814178..f0006563 100644 --- a/nixos/hosts/nixos-desktop/default.nix +++ b/nixos/hosts/nixos-desktop/default.nix @@ -8,6 +8,13 @@ # steam, nvidia-x11, etc nixpkgs.config.allowUnfree = true; + # Temporary, before the machine is on Headscale. + # Remove when finished. + networking.extraHosts = '' + 192.168.1.210 code.sysctl.io + 192.168.1.210 pass.sysctl.io + ''; + boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "thunderbolt" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-intel" "acpi_call" ];