mirror of
https://github.com/buckley310/nixos-config.git
synced 2024-11-09 18:47:02 +00:00
34 lines
1.1 KiB
Nix
34 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
environment = {
|
|
gnome3.excludePackages = with pkgs.gnome3; [ epiphany vinagre gnome-software ];
|
|
systemPackages = with pkgs; [
|
|
numix-icon-theme
|
|
gnome3.gnome-tweaks
|
|
gnome3.gnome-boxes qemu_kvm
|
|
(callPackage ./bottom-panel.nix {})
|
|
(writeScriptBin "red" ''
|
|
x="$(gsettings get org.gnome.settings-daemon.plugins.color night-light-enabled)"
|
|
[ "$x" = "true" ] && x=false || x=true
|
|
echo "Nightlight: $x"
|
|
gsettings set org.gnome.settings-daemon.plugins.color night-light-enabled $x
|
|
'')
|
|
] ++ (with pkgs.gnomeExtensions; [
|
|
appindicator
|
|
dash-to-panel
|
|
drop-down-terminal
|
|
sound-output-device-chooser
|
|
]);
|
|
};
|
|
|
|
services.xserver = {
|
|
enable = true;
|
|
libinput.enable = true;
|
|
displayManager.gdm.enable = true;
|
|
desktopManager.gnome3.enable = true;
|
|
desktopManager.xterm.enable = false;
|
|
displayManager.sessionCommands = ''
|
|
${./settings.sh}
|
|
'';
|
|
};
|
|
}
|