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

View File

@ -1,7 +1,26 @@
{ 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;
xdg = {
@ -24,9 +43,7 @@ let
feh
playerctl
pamixer
brightnessctl
];
};
in
{
home-manager.users.moritz = {...}: (base);
}