# Window Manager and desktop programs { config, lib, pkgs, ... }: let # unstableTarball = # fetchTarball # https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz; in { sound.enable = true; hardware.pulseaudio.enable = false; security.rtkit.enable = true; services = { # sonarr = { # enable = true; # openFirewall = true; # http://locahost:8989 # }; # prowlarr = { # enable = true; # openFirewall = true; # http://locahost:9696 # }; #blueman.enable = true; #openvpn.restartAfterSleep = false; openvpn.servers = { arn = { config = '' config /home/mrflos/Nextcloud/vpn\ ARN/2023/vpn510.conf ''; autoStart = false; }; }; pipewire = { enable = true; alsa.enable = true; alsa.support32Bit = true; pulse.enable = true; # If you want to use JACK applications, uncomment this #jack.enable = true; # use the example session manager (no others are packaged yet so this is enabled by default, # no need to redefine it in your config for now) #media-session.enable = true; }; printing.enable = true; # Enable CUPS to print documents. printing.drivers = [ pkgs.brlaser ]; xserver = { enable = true; displayManager.defaultSession = "plasmawayland"; desktopManager.plasma5.enable = true; displayManager.sddm.enable = true; displayManager.sddm.enableHidpi = true; }; dbus.enable = true; }; programs = { chromium = { enable = true; homepageLocation = "about:blank"; extensions = [ "pejkokffkapolfffcgbmdmhdelanoaih" # Unsplash instant "cjpalhdlnbpafiamejdnhcphjbkeiagm" # uBlock Origin "gfapcejdoghpoidkfodoiiffaaibpaem" # Dracula theme "jbbplnpkjmmeebjpijfedlgcdilocofh" # wave a11y ]; extraOpts = { SpellcheckEnabled = true; SpellcheckLanguage = [ "fr-FR" "en-GB" "ru" ]; }; }; droidcam.enable = true; firefox.enable = true; firefox.languagePacks = ["fr"]; hyprland.enable = true; ssh.askPassword = pkgs.lib.mkForce "${pkgs.ksshaskpass.out}/bin/ksshaskpass"; # conflict between kde and gnome cf. https://github.com/NixOS/nixpkgs/issues/75867 ssh.startAgent = true; steam.enable = true; nix-ld.enable = true; # Sets up all the libraries to load nix-ld.libraries = with pkgs; [ stdenv.cc.cc zlib ]; }; # Allow unfree packages nixpkgs.config.allowUnfree = true; # access to unstable nixpkgs # nixpkgs.config = { # packageOverrides = pkgs: with pkgs; { # unstable = import unstableTarball { # config = config.nixpkgs.config; # }; # }; # }; # no kde bloat environment.plasma5.excludePackages = with pkgs.libsForQt5; [ baloo elisa khelpcenter oxygen plasma-browser-integration ]; # List packages installed in system profile. To search, run: # $ nix search wget environment.systemPackages = with pkgs; [ (vscode-with-extensions.override { vscode = vscodium; vscodeExtensions = with vscode-extensions; [ bmewburn.vscode-intelephense-client #dracula-theme.theme-dracula mvllow.rose-pine editorconfig.editorconfig esbenp.prettier-vscode github.github-vscode-theme gruntfuggly.todo-tree jnoortheen.nix-ide mhutchie.git-graph ms-ceintl.vscode-language-pack-fr #junstyle.php-cs-fixer #ms-vscode-remote.remote-ssh ] ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ { name = "vscode-twig-language-2"; publisher = "mblode"; version = "0.9.2"; sha256 = "113w2iis4zi4z3sqc3vd2apyrh52hbh2gvmxjr5yvjpmrsksclbd"; } ] ; }) (chromium.override { enableWideVine = true; # DRM support }) audacious calibre digikam rose-pine-gtk-theme rose-pine-icon-theme element-desktop filezilla gimp-with-plugins hunspell hunspellDicts.fr-moderne hyprpaper inkscape-with-extensions kitty latte-dock libreoffice-qt librewolf libsForQt5.ark libsForQt5.bismuth mixxx nextcloud-client obsidian signal-desktop tdesktop # strange name for telegram client thunderbird tor-browser-bundle-bin transmission-qt vlc waybar wl-clipboard wofi pywal rofi swaylock-effects wlogout cliphist mako # notification system developed by swaywm maintainer wdisplays # tool to configure displays ]; # Do not restart the display manager automatically systemd.services.display-manager.restartIfChanged = lib.mkForce false; # If something needs more than 20s to stop it should probably be # killed. systemd.extraConfig = '' DefaultTimeoutStopSec=20s ''; }