Modularize gnome config
This commit is contained in:
@@ -13,6 +13,7 @@
|
|||||||
./hard.nix
|
./hard.nix
|
||||||
../../modules/bootloader.nix
|
../../modules/bootloader.nix
|
||||||
../../modules/disko.zfs-encrypted-root.nix
|
../../modules/disko.zfs-encrypted-root.nix
|
||||||
|
../../modules/gnome.nix
|
||||||
../../modules/bluetooth.nix
|
../../modules/bluetooth.nix
|
||||||
../../modules/keyboard
|
../../modules/keyboard
|
||||||
../../modules/networking.nix
|
../../modules/networking.nix
|
||||||
@@ -31,12 +32,6 @@
|
|||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
services.xserver = {
|
|
||||||
displayManager.gdm.enable = true;
|
|
||||||
displayManager.gdm.wayland = true;
|
|
||||||
desktopManager.gnome.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
|
|||||||
11
modules/gnome.nix
Normal file
11
modules/gnome.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
services.xserver = {
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
displayManager.gdm.wayland = true;
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
# TODO: Declare monitors.xml
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user