Add bunch more programs / services modularly
This commit is contained in:
15
system/gui/dwm.nix
Normal file
15
system/gui/dwm.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./x11.nix
|
||||
./lightdm.nix
|
||||
../app/terminal/kitty.nix
|
||||
../app/launcher/dmenu.nix
|
||||
../app/launcher/rofi.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = [ pkgs.dwm ];
|
||||
services.xserver.windowManager.dwm.enable = true;
|
||||
services.xserver.displayManager.defaultSession = "dwm";
|
||||
}
|
10
system/gui/fonts.nix
Normal file
10
system/gui/fonts.nix
Normal file
@@ -0,0 +1,10 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
nerdfonts
|
||||
powerline
|
||||
font-awesome
|
||||
ubuntu_font_family
|
||||
];
|
||||
}
|
8
system/gui/lightdm.nix
Normal file
8
system/gui/lightdm.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
environment.systemPackages = [ pkgs.lightdm ];
|
||||
services.xserver.displayManager = {
|
||||
lightdm.enable = true;
|
||||
};
|
||||
}
|
16
system/gui/x11.nix
Normal file
16
system/gui/x11.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../util/dbus.nix
|
||||
../util/gnome-keyring.nix
|
||||
./fonts.nix
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
layout = "us";
|
||||
xkbVariant = "";
|
||||
xkbOptions = "";
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user