hosts/caramel, users/hana: init

This commit is contained in:
LavaDesu 2022-02-02 00:50:39 +07:00
parent 41c4362136
commit 1f8b0bd54c
Signed by: cilly
GPG key ID: 6500251E087653C9
14 changed files with 246 additions and 46 deletions

View file

@ -0,0 +1,28 @@
{ config, ... }: {
environment.etc."wpa_supplicant.conf".source = config.age.secrets.wpa_conf.path;
networking = {
wireless = {
enable = true;
interfaces = [ "wlan0" ];
};
useDHCP = false;
interfaces.wlan0.useDHCP = false;
interfaces.wlan0.ipv4.addresses = [{
address = "192.168.100.15";
prefixLength = 24;
}];
defaultGateway = "192.168.100.1";
nameservers = [ "8.8.8.8" ];
extraHosts = ''
192.168.100.10 strawberry
192.168.100.11 peach
192.168.100.12 butterfly
192.168.100.13 winter
192.168.100.13 blossom
192.168.100.14 apricot
'';
};
}