nix-dotfiles/profiles/desktop.nix

94 lines
1.7 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-09-11 12:03:23 +02:00
where-is-my-sddm-theme
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
];
# Enable CUPS to print documents.
2024-09-27 16:45:21 +02:00
services.printing.enable = false; #temp off because of CVE
2024-06-13 14:40:34 +02:00
security.polkit.enable = true;
2024-09-23 12:54:23 +02:00
security.pam.services.swaylock = {};
security.pam.services.swaylock-effects = {};
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-09-23 12:54:23 +02:00
#bluetooth
services.blueman.enable = true;
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
hardware.bluetooth = {
enable = true; # enables support for Bluetooth
settings = {
General = {
Enable = "Source,Sink,Media,Socket";
Experimental = true;
};
};
};
#automount
services.udisks2.enable = true;
#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-09-30 12:01:48 +02:00
layout = "no,us";
variant = "";
};
}