This commit is contained in:
Moritz Böhme 2021-09-14 18:43:49 +02:00
parent 22cb22bc0f
commit e4dcdaa275
2 changed files with 23 additions and 28 deletions

View file

@ -27,25 +27,7 @@
# SERVICES # SERVICES
services = { services = {
xserver = { xserver.libinput.enable = true;
enable = true;
layout = "de";
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
libinput.enable = true;
windowManager.bspwm.enable = true;
};
printing.enable = true; printing.enable = true;
pipewire = { pipewire = {
enable = true; enable = true;
@ -63,10 +45,6 @@
interfaces.wlp1s0.useDHCP = true; interfaces.wlp1s0.useDHCP = true;
}; };
environment.systemPackages = with pkgs; [
brightnessctl
];
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
# Powersaving # Powersaving

View file

@ -1,7 +1,26 @@
{ config, lib, pkgs, ... }: { config, lib, pkgs, ... }:
let {
base = { services = {
xserver = {
enable = true;
layout = "de";
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
windowManager.bspwm.enable = true;
};
};
home-manager.users.moritz = {
xsession.windowManager.bspwm.enable = true; xsession.windowManager.bspwm.enable = true;
xdg = { xdg = {
@ -24,9 +43,7 @@ let
feh feh
playerctl playerctl
pamixer pamixer
brightnessctl
]; ];
}; };
in
{
home-manager.users.moritz = {...}: (base);
} }