xfce base config, based on https://gist.github.com/nat-418/1101881371c9a7b419ba5f944a7118b0
This commit is contained in:
parent
a9e0561709
commit
ac66b6da44
4 changed files with 142 additions and 0 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
../../modules/xfce.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
#../../modules/home-manager/firefox.nix
|
#../../modules/home-manager/firefox.nix
|
||||||
|
../../modules/home-manager/xfce-home.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
|
|
|
||||||
30
modules/home-manager/xfce-home.nix
Normal file
30
modules/home-manager/xfce-home.nix
Normal file
|
|
@ -0,0 +1,30 @@
|
||||||
|
# Source: https://gist.github.com/nat-418/1101881371c9a7b419ba5f944a7118b0
|
||||||
|
{ config, pkgs, lib, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
iconTheme = {
|
||||||
|
name = "elementary-Xfce-dark";
|
||||||
|
package = pkgs.elementary-xfce-icon-theme;
|
||||||
|
};
|
||||||
|
theme = {
|
||||||
|
name = "zukitre-dark";
|
||||||
|
package = pkgs.zuki-themes;
|
||||||
|
};
|
||||||
|
gtk3.extraConfig = {
|
||||||
|
Settings = ''
|
||||||
|
gtk-application-prefer-dark-theme=1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
gtk4.extraConfig = {
|
||||||
|
Settings = ''
|
||||||
|
gtk-application-prefer-dark-theme=1
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
programs.gpg.enable = true;
|
||||||
|
|
||||||
|
services.gpg-agent.enable = true;
|
||||||
|
}
|
||||||
110
modules/xfce.nix
Normal file
110
modules/xfce.nix
Normal file
|
|
@ -0,0 +1,110 @@
|
||||||
|
# Source: https://gist.github.com/nat-418/1101881371c9a7b419ba5f944a7118b0
|
||||||
|
{ pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment = {
|
||||||
|
systemPackages = with pkgs; [
|
||||||
|
blueman
|
||||||
|
#chromium
|
||||||
|
#deja-dup
|
||||||
|
#drawing
|
||||||
|
elementary-xfce-icon-theme
|
||||||
|
#evince
|
||||||
|
#firefox
|
||||||
|
#foliate
|
||||||
|
font-manager
|
||||||
|
#gimp-with-plugins
|
||||||
|
#gnome.file-roller
|
||||||
|
#gnome.gnome-disk-utility
|
||||||
|
#inkscape-with-extensions
|
||||||
|
#libqalculate
|
||||||
|
#libreoffice
|
||||||
|
#orca
|
||||||
|
pavucontrol
|
||||||
|
#qalculate-gtk
|
||||||
|
#thunderbird
|
||||||
|
#wmctrl
|
||||||
|
xclip
|
||||||
|
#xcolor
|
||||||
|
xcolor
|
||||||
|
xdo
|
||||||
|
xdotool
|
||||||
|
xfce.catfish
|
||||||
|
xfce.gigolo
|
||||||
|
xfce.orage
|
||||||
|
xfce.xfburn
|
||||||
|
xfce.xfce4-appfinder
|
||||||
|
xfce.xfce4-clipman-plugin
|
||||||
|
xfce.xfce4-cpugraph-plugin
|
||||||
|
xfce.xfce4-dict
|
||||||
|
xfce.xfce4-fsguard-plugin
|
||||||
|
xfce.xfce4-genmon-plugin
|
||||||
|
xfce.xfce4-netload-plugin
|
||||||
|
xfce.xfce4-panel
|
||||||
|
xfce.xfce4-pulseaudio-plugin
|
||||||
|
xfce.xfce4-systemload-plugin
|
||||||
|
xfce.xfce4-weather-plugin
|
||||||
|
xfce.xfce4-whiskermenu-plugin
|
||||||
|
xfce.xfce4-xkb-plugin
|
||||||
|
xfce.xfdashboard
|
||||||
|
xorg.xev
|
||||||
|
xsel
|
||||||
|
xtitle
|
||||||
|
xwinmosaic
|
||||||
|
zuki-themes
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
hardware = {
|
||||||
|
bluetooth.enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
programs = {
|
||||||
|
dconf.enable = true;
|
||||||
|
gnupg.agent = {
|
||||||
|
enable = true;
|
||||||
|
enableSSHSupport = true;
|
||||||
|
};
|
||||||
|
thunar = {
|
||||||
|
enable = true;
|
||||||
|
plugins = with pkgs.xfce; [
|
||||||
|
thunar-archive-plugin
|
||||||
|
thunar-media-tags-plugin
|
||||||
|
thunar-volman
|
||||||
|
];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||||
|
|
||||||
|
services = {
|
||||||
|
blueman.enable = true;
|
||||||
|
gnome.gnome-keyring.enable = true;
|
||||||
|
pipewire = {
|
||||||
|
enable = true;
|
||||||
|
alsa = {
|
||||||
|
enable = true;
|
||||||
|
support32Bit = true;
|
||||||
|
};
|
||||||
|
pulse.enable = true;
|
||||||
|
};
|
||||||
|
xserver = {
|
||||||
|
enable = true;
|
||||||
|
excludePackages = with pkgs; [
|
||||||
|
xterm
|
||||||
|
];
|
||||||
|
displayManager = {
|
||||||
|
lightdm = {
|
||||||
|
enable = true;
|
||||||
|
greeters.slick = {
|
||||||
|
enable = true;
|
||||||
|
theme.name = "Zukitre-dark";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
desktopManager.xfce.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
sound.enable = true;
|
||||||
|
}
|
||||||
Loading…
Add table
Reference in a new issue