Re-organize Nix Modules
- Move all programs into system folder - Create `default.nix` for each folder to reduce number of imports in configuration.nix - Rename some modules to be more generic and less package specific to allow for easy swapping of programs in the future - Update flake.lock
This commit is contained in:
8
system/gui/default.nix
Normal file
8
system/gui/default.nix
Normal file
@@ -0,0 +1,8 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
./x11.nix
|
||||
./fonts.nix
|
||||
];
|
||||
}
|
@@ -2,11 +2,8 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./x11.nix
|
||||
./default.nix
|
||||
./lightdm.nix
|
||||
../app/terminal/kitty.nix
|
||||
../app/launcher/dmenu.nix
|
||||
../app/launcher/rofi.nix
|
||||
];
|
||||
|
||||
services.xserver.windowManager.dwm.enable = true;
|
||||
|
@@ -2,6 +2,7 @@
|
||||
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
corefonts
|
||||
powerline
|
||||
font-awesome
|
||||
ubuntu_font_family
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
./x11.nix
|
||||
./default.nix
|
||||
];
|
||||
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
|
@@ -1,12 +1,6 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../util/dbus.nix
|
||||
../util/gnome-keyring.nix
|
||||
./fonts.nix
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb = {
|
||||
|
Reference in New Issue
Block a user