Switch from SDDM to LightDM and fix Wireguard
This commit is contained in:
parent
4bcfb6a660
commit
3147727b77
|
@ -5,7 +5,7 @@
|
|||
services.xserver.enable = true;
|
||||
services.xserver.displayManager = {
|
||||
defaultSession = "sway";
|
||||
sddm = {
|
||||
lightdm = {
|
||||
enable = true;
|
||||
autoLogin = {
|
||||
enable = true;
|
||||
|
@ -34,8 +34,6 @@
|
|||
kitty
|
||||
];
|
||||
extraSessionCommands = ''
|
||||
export MOZ_ENABLE_WAYLAND=1
|
||||
export MOZ_DBUS_REMOTE=1
|
||||
export GRIM_DEFAULT_DIR=/home/coolneng/Photos/Screenshots
|
||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
export QT_QPA_PLATFORM=wayland
|
||||
|
@ -48,21 +46,21 @@
|
|||
programs.light.enable = true;
|
||||
|
||||
# Blue light filter
|
||||
location = {
|
||||
latitude = 35.89;
|
||||
longitude = -5.32;
|
||||
provider = "manual";
|
||||
};
|
||||
|
||||
services.redshift = {
|
||||
package = pkgs.redshift-wlr;
|
||||
enable = true;
|
||||
temperature = {
|
||||
day = 6500;
|
||||
night = 5000;
|
||||
night = 5300;
|
||||
};
|
||||
};
|
||||
|
||||
location = {
|
||||
latitude = 35.89;
|
||||
longitude = -5.32;
|
||||
provider = "manual";
|
||||
};
|
||||
|
||||
# Bar
|
||||
programs.waybar.enable = true;
|
||||
|
||||
|
|
|
@ -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
|
||||
{
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
passff-host
|
||||
gitAndTools.pass-git-helper
|
||||
# Browsers
|
||||
(firefox.override { extraNativeMessagingHosts = [ passff-host ]; })
|
||||
(firefox-wayland.override { extraNativeMessagingHosts = [ passff-host ]; })
|
||||
chromium
|
||||
# LaTeX
|
||||
texlive.combined.scheme-full
|
||||
|
@ -33,8 +33,16 @@
|
|||
lorri
|
||||
nixfmt
|
||||
# Rice
|
||||
gtk_engines
|
||||
adapta-gtk-theme
|
||||
paper-icon-theme
|
||||
# Audio
|
||||
mopidy
|
||||
ncmpcpp
|
||||
# Productivity
|
||||
fff
|
||||
zathura
|
||||
libreoffice
|
||||
];
|
||||
|
||||
# Fonts declaration
|
||||
|
|
Loading…
Reference in New Issue