1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

Switch back to sway

This commit is contained in:
Stefan Ellmauthaler 2023-03-24 16:34:12 +01:00
parent 22a8f78596
commit 1034e3fe25
Signed by: ellmau
GPG Key ID: C804A9C1B7AF8256
2 changed files with 19 additions and 11 deletions

View File

@ -1,6 +1,11 @@
{ config, pkgs, inputs, nixos-hardware, ... }: {
imports =
[ ../../common/users.nix ./hardware-configuration.nix ./software.nix ];
{
config,
pkgs,
inputs,
nixos-hardware,
...
}: {
imports = [../../common/users.nix ./hardware-configuration.nix ./software.nix];
elss = {
# base system
@ -28,10 +33,10 @@
openvpn.enable = true;
# nm-networks
networking.nmConnections = [ ];
networking.nmConnections = [];
# enable sops
sops = { enable = true; };
sops = {enable = true;};
# enable wireguard
wireguard.enable = true;
@ -39,17 +44,17 @@
# user setup
users = {
enable = true;
admins = [ "ellmau" ];
users = [ ];
admins = ["ellmau"];
users = [];
meta = { ellmau.git = { signDefault = true; }; };
meta = {ellmau.git = {signDefault = true;};};
};
};
boot = {
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
extraModulePackages = [config.boot.kernelPackages.v4l2loopback];
kernelModules = [ "v4l2loopback" ];
kernelModules = ["v4l2loopback"];
plymouth.enable = true;
};

View File

@ -12,7 +12,10 @@ with lib; {
mkIf cfg.enable {
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager = {
sddm.enable = true;
defaultSession = "plasmawayland";
};
desktopManager.plasma5.enable = true;
};