diff options
| author | Grigory Shipunov | 2022-06-14 21:34:00 +0200 |
|---|---|---|
| committer | Grigory Shipunov | 2022-06-14 21:34:00 +0200 |
| commit | fc611d6083ccd8384438fca0f10dffe74efd441a (patch) | |
| tree | 5af46e45bf58411fd2db0b68f2a011f719d55715 /modules/graphical.nix | |
| parent | f422ad701ce41373e7a293160faf5a19eeea19fa (diff) | |
add gnome3
Diffstat (limited to 'modules/graphical.nix')
| -rw-r--r-- | modules/graphical.nix | 57 |
1 files changed, 1 insertions, 56 deletions
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"; } |
