From fc611d6083ccd8384438fca0f10dffe74efd441a Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Tue, 14 Jun 2022 21:34:00 +0200 Subject: add gnome3 --- modules/graphical.nix | 57 +-------------------------------------------------- 1 file changed, 1 insertion(+), 56 deletions(-) (limited to 'modules/graphical.nix') diff --git a/modules/graphical.nix b/modules/graphical.nix index 9c86493..fd0e6aa 100644 --- a/modules/graphical.nix +++ b/modules/graphical.nix @@ -2,37 +2,16 @@ { config, pkgs, ... }: { - imports = [ - ./basic-tools.nix - ./gnupg.nix - ]; - environment.systemPackages = with pkgs; [ firefox-wayland dino - alacritty - xclip flameshot wl-clipboard - brightnessctl - feh - mpv - zathura - pulsemixer pulseaudioFull screen-message - cmus - gtk-engine-murrine - gtk_engines - gsettings-desktop-schemas - pamixer qbittorrent - xdg-utils ]; - services.acpid.enable = true; - programs.light.enable = true; - #on the desktop, we need nice fonts ^^ fonts.fonts = with pkgs; [ dejavu_fonts @@ -74,9 +53,9 @@ }; # Enable sound. - sound.enable = true; security.rtkit.enable = true; hardware.pulseaudio = { + enable = false; zeroconf.discovery.enable = true; extraClientConf = '' autospawn=yes @@ -94,32 +73,6 @@ package = pkgs.bluezFull; }; - services.blueman.enable = true; - - services.xserver.enable = false; - programs.xwayland.enable = true; - programs.sway = { - enable = true; - wrapperFeatures.gtk = true; - extraPackages = with pkgs; [ - swaylock - swayidle - wl-clipboard - mako - alacritty - wofi - waybar - gnome3.adwaita-icon-theme - i3status-rust - ]; - }; - environment.sessionVariables = { GTK_THEME = "Adwaita:dark"; }; - environment.loginShellInit = '' - if [ -z $DISPLAY ] && [ "$(tty)" = "/dev/tty1" ]; then - exec sway - fi - ''; - xdg.portal.wlr.enable = true; nix = { binaryCaches = [ @@ -132,12 +85,4 @@ programs.zsh.vteIntegration = true; programs.bash.vteIntegration = true; services.upower.enable = true; - - services.udisks2.enable = true; - environment.shellAliases = { - mnt = "udisksctl mount -b"; - umnt = "udisksctl unmount -b"; - }; - - qt5.platformTheme = "gnome"; } -- cgit v1.3.1