Compare commits

...

2 commits

Author SHA1 Message Date
fruchti 57f19e259f Disco: Add mpv, video playback codecs 2024-04-27 14:40:03 +02:00
fruchti 1f863c789d Disco: Switch from GNOME to XFCE 2024-04-27 14:38:38 +02:00
2 changed files with 45 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{ {
imports = [ imports = [
./development.nix ./development.nix
./gnome.nix ./xfce.nix
./x270.nix ./x270.nix
./scanner.nix ./scanner.nix
./printer.nix ./printer.nix
@ -63,7 +63,7 @@
zathura zathura
inkscape inkscape
vlc vlc mpv a52dec
gthumb gthumb
gimp gimp
tenacity tenacity

43
hosts/xfce.nix Normal file
View file

@ -0,0 +1,43 @@
{ config, pkgs, ... }:
{
services.xserver = {
enable = true;
libinput.enable = true;
desktopManager = {
xfce.enable = true;
xterm.enable = false;
};
displayManager = {
lightdm.enable = true;
defaultSession = "xfce";
autoLogin.enable = true;
autoLogin.user = "fruchti";
};
};
nixpkgs.config.pulseaudio = true;
hardware.pulseaudio.enable = true;
hardware.bluetooth.enable = true;
services.blueman.enable = true;
# environment.xfce.excludePackages = with pkgs.xfce; [
# xfce4-terminal
# ];
environment.systemPackages = with pkgs; [
xfce.xfce4-whiskermenu-plugin
xfce.xfce4-pulseaudio-plugin
xfce.xfce4-volumed-pulse
xfce.xfwm4-themes
pinentry-gnome
lounge-gtk-theme
hackneyed
blueman
gnome.file-roller
];
security.pam.services.lightdm.enableGnomeKeyring = true;
services.gnome.gnome-keyring.enable = true;
services.cpupower-gui.enable = true;
programs.gnupg.agent.pinentryFlavor = "gnome3";
services.pcscd.enable = true;
services.dbus.packages = [ pkgs.gcr ];
}