consolidate net-related stuff into hosts/common/net/ directory

This commit is contained in:
2024-01-15 01:11:13 +00:00
parent 3856710faf
commit 006a7e9f72
4 changed files with 5 additions and 4 deletions

View File

@@ -5,18 +5,16 @@
./fs.nix ./fs.nix
./hardware ./hardware
./home ./home
./hostnames.nix
./hosts.nix ./hosts.nix
./ids.nix ./ids.nix
./machine-id.nix ./machine-id.nix
./net.nix ./net
./nix-path ./nix-path
./persist.nix ./persist.nix
./programs ./programs
./secrets.nix ./secrets.nix
./ssh.nix ./ssh.nix
./users ./users
./vpn.nix
]; ];
sane.nixcache.enable-trusted-keys = true; sane.nixcache.enable-trusted-keys = true;

View File

@@ -1,6 +1,10 @@
{ lib, pkgs, ... }: { lib, pkgs, ... }:
{ {
imports = [
./hostnames.nix
./vpn.nix
];
# the default backend is "wpa_supplicant". # the default backend is "wpa_supplicant".
# wpa_supplicant reliably picks weak APs to connect to. # wpa_supplicant reliably picks weak APs to connect to.
# see: <https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/474> # see: <https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/474>

View File

@@ -1,4 +1,3 @@
# TODO: move to hosts/common/
{ config, lib, ... }: { config, lib, ... }:
{ {