2024-05-15 11:22:46 +00:00
|
|
|
{ pkgs, pkgs-unstable, ... }: {
|
2024-05-04 16:37:52 +00:00
|
|
|
|
|
|
|
imports = [
|
2024-05-05 08:27:01 +00:00
|
|
|
./sway
|
2024-05-04 16:37:52 +00:00
|
|
|
./foot.nix
|
|
|
|
./firefox.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
users.users.sammy.packages = with pkgs; [
|
|
|
|
telegram-desktop
|
2024-05-05 08:27:01 +00:00
|
|
|
mpv
|
2024-05-15 11:22:46 +00:00
|
|
|
thunderbird
|
|
|
|
pkgs-unstable.obsidian
|
|
|
|
bluez-tools
|
|
|
|
blueman
|
|
|
|
pavucontrol
|
2024-05-04 16:37:52 +00:00
|
|
|
];
|
|
|
|
|
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;
|
2024-05-04 16:37:52 +00:00
|
|
|
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;
|
2024-05-05 08:27:01 +00:00
|
|
|
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-05-04 16:37:52 +00:00
|
|
|
|
2024-04-01 17:16:35 +00:00
|
|
|
fonts = {
|
2024-05-04 16:37:52 +00:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|