Pull out common graphical module

This commit is contained in:
2022-02-13 16:08:46 +00:00
parent 0ef362f2b3
commit 72a25319b0
3 changed files with 28 additions and 23 deletions

View File

@@ -32,28 +32,6 @@
virtualisation.docker.enable = true;
# Enable the X11 windowing system.
services.xserver = {
enable = true;
layout = "gb";
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "1";
};
};
displayManager = {
gdm.enable = true;
};
windowManager.i3.enable = true;
};
# Enable sound.
services.pipewire = {
enable = true;
@@ -84,7 +62,6 @@
firefox
gcc
git
i3
ripgrep
wget
zsh

View File

@@ -0,0 +1,27 @@
{ config, pkgs, ...}:
{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
layout = "gb";
libinput = {
enable = true;
mouse = {
accelProfile = "flat";
accelSpeed = "1";
};
};
displayManager = {
gdm.enable = true;
};
windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
};
};
}

View File

@@ -10,6 +10,7 @@
./hardware-configuration.nix
./syncthing
../common
../common/graphical
];
services.xserver = {