1
0

hosts/krypton,configuration/desktop: setup basic gnome environment

This commit is contained in:
clerie 2023-06-19 22:20:47 +02:00
parent b481941eb2
commit 417a739547
7 changed files with 101 additions and 1 deletions

View File

@ -11,7 +11,10 @@
time.timeZone = "Europe/Berlin"; time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8"; i18n.defaultLocale = "de_DE.UTF-8";
i18n.extraLocaleSettings = {
LC_MESSAGES = "en_US.UTF-8";
};
console = { console = {
keyMap = "de-latin1"; keyMap = "de-latin1";
}; };
@ -143,6 +146,8 @@
}; };
}; };
documentation.doc.enable = false;
nixpkgs.overlays = [ nixpkgs.overlays = [
(import ../../pkgs/overlay.nix) (import ../../pkgs/overlay.nix)
]; ];

View File

@ -0,0 +1,9 @@
{ ... }:
{
imports = [
./fonts.nix
./gnome.nix
./xserver.nix
];
}

View File

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
fonts.enableDefaultFonts = true;
fonts.fonts = with pkgs; [
roboto
roboto-mono
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
];
}

View File

@ -0,0 +1,39 @@
{ pkgs, ... }:
{
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.gnome = {
tracker-miners.enable = false;
tracker.enable = false;
};
environment.gnome.excludePackages = with pkgs.gnome; [
baobab
epiphany
gnome-calendar
gnome-clocks
pkgs.gnome-console
gnome-contacts
gnome-logs
gnome-maps
gnome-music
pkgs.gnome-tour
pkgs.gnome-photos
gnome-weather
pkgs.gnome-connections
simple-scan
yelp
];
environment.systemPackages = with pkgs; [
evolution
gnome.gnome-terminal
gnome.gnome-tweaks
];
services.gnome.evolution-data-server.enable = true;
}

View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
services.xserver.excludePackages = with pkgs; [
xterm
];
}

View File

@ -4,6 +4,10 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
../../configuration/desktop
./programs.nix
]; ];
# Use the systemd-boot EFI boot loader. # Use the systemd-boot EFI boot loader.

View File

@ -0,0 +1,23 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
firefox-wayland
];
users.users.clerie.packages = with pkgs; [
keepassxc
vlc
mumble
element-desktop
signal-desktop
dino
];
services.syncthing = {
enable = true;
user = "clerie";
dataDir = "/home/clerie";
configDir = "/home/clerie/.config/syncthing";
};
}