nix-infra/profiles/desktop/default.nix

70 lines
1.5 KiB
Nix
Raw Normal View History

2024-05-15 11:22:46 +00:00
{ pkgs, pkgs-unstable, ... }: {
imports = [
./sway
./foot.nix
./firefox.nix
];
users.users.sammy.packages = with pkgs; [
telegram-desktop
mpv
2024-05-15 11:22:46 +00:00
thunderbird
pkgs-unstable.obsidian
bluez-tools
blueman
pavucontrol
];
2024-05-15 11:22:46 +00:00
home-manager.users.sammy.services.nextcloud-client.enable = true;
services.rpcbind.enable = true; # needed for NFS
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
hardware.bluetooth.enable = true;
services.logind.lidSwitch = "suspend-then-hibernate";
services.logind.powerKey = "hibernate";
services.logind.powerKeyLongPress = "poweroff";
2024-04-01 17:16:35 +00:00
services.xserver = {
enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
autoNumlock = true;
};
2024-04-01 17:16:35 +00:00
libinput.enable = true;
xkb.layout = "de";
xkb.options = "caps:escape";
};
2024-09-17 10:22:23 +00:00
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
2024-04-01 17:16:35 +00:00
fonts = {
packages = with pkgs; [
jetbrains-mono
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
nerdfonts
font-awesome
source-han-sans
source-han-sans-japanese
source-han-serif-japanese
];
fontconfig.defaultFonts = {
serif = [ "Noto Serif" "Source Han Serif" ];
sansSerif = [ "Noto Sans" "Source Han Sans" ];
monospace = [ "JetBrains Mono" ];
emoji = [ "noto-fonts-emoji" "font-awesome" ];
};
2024-04-01 17:16:35 +00:00
};
}