fixed X hopefully

nixos
Moritz Böhme 2021-09-10 09:32:51 +02:00
parent fcf290c9d3
commit 7934581d14
3 changed files with 17 additions and 32 deletions

View File

@ -25,14 +25,30 @@
kernelPackages = pkgs.linuxPackages_zen;
};
# 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;
};
printing.enable = true;
};
# NETWORKING
networking = {
hostName = "nixos-laptop";

View File

@ -23,24 +23,5 @@ let
};
in
{
# SERVICES
services = {
xserver = {
enable = true;
layout = "de";
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
};
};
home-manager.users.moritz = {...}: (base);
}

View File

@ -37,31 +37,19 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# paths it should manage.
home.username = "moritz";
home.homeDirectory = "/home/moritz";
services = {
kdeconnect.enable = true;
};
home.packages = with pkgs; [
neofetch
keepassxc
];
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
home.stateVersion = "21.05";
};
}