Compare commits

...

3 Commits

2 changed files with 35 additions and 54 deletions

View File

@ -7,15 +7,12 @@
{
# Bootloader.
boot.loader.systemd-boot.enable = true;
# boot.kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
# boot.kernelPackages = pkgs.linuxPackages_6_6;
# boot.extraModulePackages = [ pkgs.zfsUnstable ];
# boot.kernelModules = [ "zfs" ];
boot.supportedFilesystems = [ "zfs" ];
imports = [
./modules/networking.nix
./modules/nix-settings.nix
./modules/gnome.nix
];
# Set your time zone.
@ -50,56 +47,6 @@
};
};
# Enable the X11 windowing system.
services.xserver = {
enable = true;
# enable = false;
xkb = {
layout = "us";
variant = "";
options = "caps_lock:esc";
};
# videoDrivers = [
# "displaylink" # broken
# "modesetting"
# ];
# Enable the GNOME Desktop Environment.
desktopManager = {
xterm.enable = false;
gnome.enable = true;
# xfce = {
# enable = true;
# # noDesktop = true;
# enableXfwm = false;
# };
# plasma6.enable = true;
};
displayManager.gdm.enable = true;
# displayManager.defaultSession = "xfce+stumpwm";
# windowManager = {
# stumpwm.enable = true;
# # xmonad.enable = true;
# };
};
# console.useXkbConfig = true;
# console.keyMap = ./galvatron/keys.map;
environment.gnome.excludePackages = with pkgs.gnome; [
baobab
cheese
epiphany
eog
yelp
simple-scan
geary
gnome-calculator
gnome-calendar
gnome-weather
gnome-maps
gnome-contacts
pkgs.gnome-console
totem
];
# Enable CUPS to print documents.
services.printing.enable = true;

34
modules/gnome.nix Normal file
View File

@ -0,0 +1,34 @@
{ config, lib, pkgs, nixos-unstable, inputs, ... }:
{
# Enable the X11 windowing system.
services.xserver = {
enable = true;
xkb = {
layout = "us";
variant = "";
options = "caps_lock:esc";
};
# Enable the GNOME Desktop Environment.
desktopManager = {
xterm.enable = false;
gnome.enable = true;
};
displayManager.gdm.enable = true;
};
environment.gnome.excludePackages = with pkgs.gnome; [
baobab
cheese
epiphany
eog
yelp
simple-scan
geary
gnome-calculator
gnome-calendar
gnome-weather
gnome-maps
gnome-contacts
pkgs.gnome-console
totem
];
}