summaryrefslogtreecommitdiff
path: root/modules/graphical.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/graphical.nix')
-rw-r--r--modules/graphical.nix57
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";
}