Tinkering with KDE

This commit is contained in:
Daniel Flanagan 2024-02-02 00:00:54 -06:00
parent ce1a01c5d1
commit a8accc6b71
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
5 changed files with 84 additions and 6 deletions

View file

@ -11,7 +11,11 @@
Install.WantedBy = ["graphical-session.target"];
Service = {
Environment = [
"PATH=${lib.makeBinPath (with pkgs; [variety])}"
"PATH=${lib.makeBinPath (with pkgs; [
variety
(lib.getBin pkgs.plasma5Packages.qttools)
libsForQt5.kdialog
])}"
];
ExecStart = ''
${pkgs.variety}/bin/variety

View file

@ -20,6 +20,7 @@ with builtins;
"wifi"
"gnome"
"kde-connect"
"kde-plasma"
"printing"
"avahi"

View file

@ -1,15 +1,19 @@
{pkgs, ...}: {
{
pkgs,
lib,
...
}: {
imports = [./pipewire.nix];
services.xserver.enable = true;
services.xserver.enable = lib.mkDefault true;
services.xserver.displayManager.gdm = {
enable = true;
enable = lib.mkDefault true;
};
hardware.pulseaudio.enable = false;
services.xserver.desktopManager.gnome = {
enable = true;
enable = lib.mkDefault true;
extraGSettingsOverridePackages = [pkgs.gnome.mutter];
extraGSettingsOverrides = ''
@ -43,6 +47,7 @@
};
systemPackages = with pkgs; [
gnome.gnome-power-manager
brightnessctl
feh
# gimp

View file

@ -0,0 +1,59 @@
{
pkgs,
lib,
...
}: {
imports = [./pipewire.nix];
# qt.platformTheme = "gnome";
services.xserver.displayManager.defaultSession = "plasmawayland";
services.xserver.enable = lib.mkDefault true;
services.xserver.displayManager.sddm = {
enable = lib.mkDefault true;
};
hardware.pulseaudio.enable = false;
services.xserver.desktopManager.plasma5 = {
enable = lib.mkDefault true;
};
qt = {
enable = true;
# platformTheme = "gnome";
# style = "adwaita-dark";
};
programs.dconf.enable = true;
environment = {
variables = {
GTK_THEME = "Catppuccin-Mocha-Compact-Sapphire-Dark";
VISUAL = "hx";
PAGER = "less";
MANPAGER = "less";
};
systemPackages = with pkgs; [
inkscape
krita
noto-fonts
vlc
wl-clipboard
libsForQt5.kate
libsForQt5.kdenlive
libsForQt5.merkuro
libsForQt5.kmail
libsForQt5.kcalc
libsForQt5.neochat
libsForQt5.filelight
libsForQt5.krdc
libsForQt5.krfb
libsForQt5.kclock
libsForQt5.kweather
libsForQt5.ktorrent
libsForQt5.kdevelop
libsForQt5.kdialog
];
};
}

View file

@ -2,6 +2,7 @@
flake,
inputs,
outputs,
# lib,
# config,
pkgs,
...
@ -14,7 +15,8 @@ in {
flake.diskoConfigurations.standard
inputs.hardware.nixosModules.framework-13-7040-amd
desktop-usage
gnome
# gnome
kde-plasma
podman
lutris
# postgres
@ -22,6 +24,10 @@ in {
# hyprland
];
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true;
@ -33,6 +39,7 @@ in {
variety # wallpaper switcher that I use with GNOME
radeontop
sops
obs-studio
];
};
@ -79,6 +86,8 @@ in {
};
};
services.upower.enable = true;
# use updated ppd for framework 13:
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
nixpkgs.overlays = [