nix-dotfiles/profiles/desktop.nix

72 lines
1.2 KiB
Nix
Raw Normal View History

{ config, pkgs, lib, ... }:
{
imports =
[
./base.nix
2024-06-14 14:35:25 +02:00
./sound.nix
./video.nix
./office.nix
../packages/vim.nix
../packages/steam.nix
];
2024-05-15 11:40:14 +02:00
environment.systemPackages = with pkgs; [
openscad
cura
2024-05-31 12:12:19 +02:00
2024-06-14 14:35:25 +02:00
#libsForQt5.qt5ct
#qt6Packages.qt6ct
2024-05-15 11:40:14 +02:00
];
fonts.packages = with pkgs; [
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
liberation_ttf
fira-code
fira-code-symbols
mplus-outline-fonts.githubRelease
dina-font
proggyfonts
nerdfonts
ubuntu_font_family
2024-05-31 12:12:19 +02:00
2024-06-25 22:51:48 +02:00
where-is-my-sddm-theme
];
# Enable CUPS to print documents.
services.printing.enable = true;
2024-06-13 14:40:34 +02:00
security.polkit.enable = true;
2024-06-25 20:52:45 +02:00
services.displayManager = {
enable = true;
2024-06-25 22:51:48 +02:00
sessionPackages = with pkgs; [ sway ];
2024-06-25 20:52:45 +02:00
sddm = {
enable = true;
2024-06-25 22:51:48 +02:00
theme = "${pkgs.where-is-my-sddm-theme}";
2024-06-25 20:52:45 +02:00
wayland.enable = true;
2024-06-25 22:51:48 +02:00
wayland.compositor = "kwin";
2024-06-25 20:52:45 +02:00
autoNumlock = true;
enableHidpi = true;
};
};
2024-05-31 13:59:46 +02:00
services.desktopManager.plasma6.enable = true;
services.desktopManager.plasma6.enableQt5Integration = true;
2024-06-14 14:35:25 +02:00
qt.platformTheme = "kde";
2024-05-31 12:12:19 +02:00
# Configure keymap in X11
2024-05-31 13:59:46 +02:00
services.xserver.xkb = {
2024-06-25 22:51:48 +02:00
layout = "us,no";
variant = ",";
};
}