Switch from SDDM to LightDM and fix Wireguard
This commit is contained in:
@@ -1,18 +1,13 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
avahi
|
||||
wireguard
|
||||
];
|
||||
environment.systemPackages = with pkgs; [ avahi wireguard ];
|
||||
|
||||
# Set hostname and hostid
|
||||
networking = {
|
||||
hostName = "panacea";
|
||||
hostId = "8feb0bb8";
|
||||
wireless = {
|
||||
enable = true;
|
||||
};
|
||||
wireless.enable = true;
|
||||
};
|
||||
|
||||
# Enable zeroconf
|
||||
@@ -22,10 +17,11 @@
|
||||
};
|
||||
|
||||
# Wireguard setup
|
||||
networking.wireguard.interfaces = {
|
||||
networking.wg-quick.interfaces = {
|
||||
wg0 = {
|
||||
ips = [ "10.8.0.4/32" ];
|
||||
address = [ "10.8.0.4/32" ];
|
||||
privateKeyFile = "/home/coolneng/.wg/keys/privatekey";
|
||||
dns = [ "198.100.148.224" "151.80.222.79" ];
|
||||
peers = [
|
||||
# zion
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user