applications: refactored some to home-manager files: configured home-manager xdg.config to use certain applications xdg portal: override for portal to use gtk instead of gnome for file picking
49 lines
1.2 KiB
Nix
49 lines
1.2 KiB
Nix
# This is your system's configuration file.
|
|
# Use this to configure your system environment (it replaces /etc/nixos/configuration.nix)
|
|
{
|
|
inputs,
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
# --- Display & window managers ---
|
|
services.displayManager.sddm.enable = true;
|
|
services.displayManager.sddm.wayland.enable = true;
|
|
programs.niri.enable = true;
|
|
|
|
xdg.portal = { # Prevents niri from opening files with nautilus
|
|
enable = true;
|
|
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
config.niri = {
|
|
default = [ "gnome" "gtk" ];
|
|
"org.freedesktop.impl.portal.FileChooser" = [ "gtk" ];
|
|
};
|
|
};
|
|
|
|
services.gnome.gnome-keyring.enable = true;
|
|
programs.seahorse.enable = true;
|
|
|
|
services.blueman.enable = true; #bluetooth
|
|
|
|
environment.systemPackages = (
|
|
(with pkgs; [
|
|
# -- Stable system utilities --
|
|
brightnessctl
|
|
playerctl
|
|
swaylock
|
|
])
|
|
++ (with pkgs.unstablePkgs; [
|
|
# -- Fast-moving Wayland tools --
|
|
xwayland-satellite
|
|
fuzzel
|
|
waybar
|
|
])
|
|
++ [
|
|
# -- External flake inputs --
|
|
inputs.awww.packages.${pkgs.stdenv.hostPlatform.system}.awww
|
|
inputs.skwd-wall.packages.${pkgs.stdenv.hostPlatform.system}.default
|
|
]
|
|
);
|
|
}
|