Commit d5e87adf authored by Naoki OKAMURA's avatar Naoki OKAMURA

new: try to pantheon desktop

parent 6f086412
{ config, pkgs, ... }:
let
themes = {
gtk = pkgs.plastik-theme;
icon = pkgs.newaita-icons;
cursor = pkgs.capitaine-cursors;
};
in {
services.xserver = {
enable = true;
autorun = true;
desktopManager.xterm.enable = false;
desktopManager.default = "none";
desktopManager.pantheon = {
enable = true;
extraGSettingsOverridePackages = [
config.i18n.inputMethod.package
] ++ (with pkgs; [
gnome3.dconf-editor
lightlocker
plank
]) ++ (with pkgs.pantheon; [
elementary-camera
elementary-music
elementary-capnet-assist
elementary-screenshot-tool
elementary-videos
elementary-files
elementary-dpms-helper
elementary-photos
elementary-calculator
elementary-settings-daemon
switchboard-with-plugs
wingpanel-with-indicators
]);
sessionPath = [
config.i18n.inputMethod.package
] ++ (with pkgs; [
gnome3.dconf
gnome3.dconf-editor
gnome3.glib.dev
dbus-glib
lightlocker
]);
};
displayManager.job.environment = {
LANG = "ja_JP.UTF-8";
};
displayManager.lightdm.greeters.mini = {
enable = true;
user = "nyarla";
extraConfig = ''
[greeter]
show-password-label = true
password-label-text = nyarla:
invalid-password-text = Invalid
show-input-cursor = true
[greeter-theme]
font = "Noto Sans JP"
font-size = 1em
text-color = "#FFFFFF"
error-color = "#EF2929"
background-image = ""
background-color = "#2E3436"
window-color = "#2E3436"
border-color = "#FFFFFF"
border-width = 1px
layout-space = 60
password-color = "#729FCF"
password-backgroud-color = "#2E3436"
'';
};
};
environment.pantheon.excludePackages = (with pkgs; [
gnome3.epiphany
gnome3.geary
xterm
]) ++ (with pkgs.pantheon; [
elementary-code
elementary-calendar
elementary-terminal
]);
environment.systemPackages = (with themes; [
gtk icon cursor
]);
services.dbus.packages = (with pkgs; [
lightdm
lightdm_gtk_greeter
plank
]) ++ (with pkgs.pantheon; [
wingpanel
switchboard
]);
programs.qt5ct.enable = true;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment