Modularize and fix wireguard
This commit is contained in:
parent
127fc040a5
commit
7b6e8c49f1
6 changed files with 265 additions and 229 deletions
|
|
@ -1,20 +1,9 @@
|
|||
{ config, lib, pkgs, ...}:
|
||||
|
||||
{
|
||||
# Defining hostname
|
||||
|
||||
networking.hostName = "fifi";
|
||||
|
||||
|
||||
# Setting up environment variables
|
||||
|
||||
environment.sessionVariables = rec {
|
||||
NODE = "fifi";
|
||||
};
|
||||
|
||||
config.filouterie.hostName = "fifi";
|
||||
|
||||
# Setting up wifi networking and static ip (out of DHCP range 50-200)
|
||||
|
||||
networking.wireless.enable = true;
|
||||
networking.wireless.networks = {
|
||||
"Atalante_5G" = {
|
||||
|
|
@ -33,8 +22,5 @@
|
|||
|
||||
|
||||
# Setting up bootloader in UEFI mode
|
||||
|
||||
boot.loader.grub.devices = [ "nodev"];
|
||||
|
||||
|
||||
config.boot.loader.grub.devices = [ "nodev"];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue