mirror of
https://github.com/larstvei/nix-config.git
synced 2025-09-15 11:30:13 +00:00
55 lines
1.1 KiB
Nix
55 lines
1.1 KiB
Nix
{ pkgs, ... }:
|
|
{
|
|
|
|
imports = [
|
|
../fonts
|
|
];
|
|
|
|
fonts = {
|
|
fontconfig = {
|
|
enable = true;
|
|
defaultFonts = {
|
|
serif = [ "Source Serif 4" ];
|
|
sansSerif = [ "Source Sans 3" ];
|
|
monospace = [ "Source Code Pro" ];
|
|
};
|
|
};
|
|
};
|
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
programs._1password.enable = true;
|
|
programs._1password-gui.enable = true;
|
|
|
|
programs.hyprland = {
|
|
enable = true;
|
|
withUWSM = true;
|
|
package = pkgs.hyprland;
|
|
portalPackage = pkgs.xdg-desktop-portal-hyprland;
|
|
};
|
|
|
|
xdg.portal = {
|
|
enable = true;
|
|
extraPortals = [
|
|
pkgs.xdg-desktop-portal-hyprland
|
|
pkgs.xdg-desktop-portal-gtk
|
|
];
|
|
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
|
|
};
|
|
|
|
networking.networkmanager.enable = true;
|
|
hardware.bluetooth.enable = true;
|
|
services.printing.enable = true;
|
|
|
|
# Enable sound with pipewire.
|
|
services.pulseaudio.enable = false;
|
|
security.rtkit.enable = true;
|
|
services.pipewire = {
|
|
enable = true;
|
|
alsa.enable = true;
|
|
alsa.support32Bit = true;
|
|
pulse.enable = true;
|
|
};
|
|
|
|
}
|