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"]; Install.WantedBy = ["graphical-session.target"];
Service = { Service = {
Environment = [ Environment = [
"PATH=${lib.makeBinPath (with pkgs; [variety])}" "PATH=${lib.makeBinPath (with pkgs; [
variety
(lib.getBin pkgs.plasma5Packages.qttools)
libsForQt5.kdialog
])}"
]; ];
ExecStart = '' ExecStart = ''
${pkgs.variety}/bin/variety ${pkgs.variety}/bin/variety

View file

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

View file

@ -1,15 +1,19 @@
{pkgs, ...}: { {
pkgs,
lib,
...
}: {
imports = [./pipewire.nix]; imports = [./pipewire.nix];
services.xserver.enable = true; services.xserver.enable = lib.mkDefault true;
services.xserver.displayManager.gdm = { services.xserver.displayManager.gdm = {
enable = true; enable = lib.mkDefault true;
}; };
hardware.pulseaudio.enable = false; hardware.pulseaudio.enable = false;
services.xserver.desktopManager.gnome = { services.xserver.desktopManager.gnome = {
enable = true; enable = lib.mkDefault true;
extraGSettingsOverridePackages = [pkgs.gnome.mutter]; extraGSettingsOverridePackages = [pkgs.gnome.mutter];
extraGSettingsOverrides = '' extraGSettingsOverrides = ''
@ -43,6 +47,7 @@
}; };
systemPackages = with pkgs; [ systemPackages = with pkgs; [
gnome.gnome-power-manager
brightnessctl brightnessctl
feh feh
# gimp # 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, flake,
inputs, inputs,
outputs, outputs,
# lib,
# config, # config,
pkgs, pkgs,
... ...
@ -14,7 +15,8 @@ in {
flake.diskoConfigurations.standard flake.diskoConfigurations.standard
inputs.hardware.nixosModules.framework-13-7040-amd inputs.hardware.nixosModules.framework-13-7040-amd
desktop-usage desktop-usage
gnome # gnome
kde-plasma
podman podman
lutris lutris
# postgres # postgres
@ -22,6 +24,10 @@ in {
# hyprland # hyprland
]; ];
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
programs.steam.enable = true; programs.steam.enable = true;
programs.steam.remotePlay.openFirewall = true; programs.steam.remotePlay.openFirewall = true;
@ -33,6 +39,7 @@ in {
variety # wallpaper switcher that I use with GNOME variety # wallpaper switcher that I use with GNOME
radeontop radeontop
sops sops
obs-studio
]; ];
}; };
@ -79,6 +86,8 @@ in {
}; };
}; };
services.upower.enable = true;
# use updated ppd for framework 13: # use updated ppd for framework 13:
# source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev # source: https://community.frame.work/t/tracking-ppd-v-tlp-for-amd-ryzen-7040/39423/137?u=lytedev
nixpkgs.overlays = [ nixpkgs.overlays = [