desktop-2024-07-09-11-21-50

This commit is contained in:
Alexander Szczepanski
2024-07-09 11:21:50 +02:00
parent cfd78dcf25
commit 1ce3dc6971
5 changed files with 284 additions and 58 deletions

View File

@ -3,25 +3,29 @@ let
unstable = import <nixos-unstable> {
config.allowUnfree = true;
config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs = pkgs: with unstable.pkgs; [ gamescope mangohud ncurses6 ];
};
lutris = pkgs.lutris.override {
extraPkgs = pkgs: with unstable.pkgs; [ gamescope mangohud ];
};
};
};
in {
in
{
programs = {
gamescope.enable = true;
steam = {
enable = true;
package = unstable.pkgs.steam;
package = pkgs.steam.override {
extraPkgs = pkgs: with pkgs; [
gamescope
mangohud
libkrb5
keyutils
];
};
};
};
environment.systemPackages = with unstable.pkgs; [
goverlay
lutris
protontricks
protonup-qt

View File

@ -1,46 +1,38 @@
{ config, pkgs, lib, ... }:
{
{ config, pkgs, lib, ... }: {
programs = {
dconf.enable = true;
kdeconnect.enable = true;
};
# environment.systemPackages = with pkgs; [
# libsForQt5.kalk
# libsForQt5.plasma-browser-integration
# ];
environment.plasma6.excludePackages = with pkgs.kdePackages; [
# plasma-browser-integration
konsole
oxygen
kate
];
# environment.etc."chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json".source = "${pkgs.plasma-browser-integration}/etc/chromium/native-messaging-hosts/org.kde.plasma.browser_integration.json";
services = {
desktopManager.plasma6.enable = true;
displayManager.sddm = {
enable = true;
wayland.enable = true;
displayManager = {
defaultSession = "plasmax11";
sddm = { enable = true; };
};
# xserver = {
# enable = true;
# excludePackages = [ pkgs.xterm ];
xserver = {
enable = true;
excludePackages = [ pkgs.xterm ];
# layout = "us";
xkb.layout = "us";
# # Enable touchpad support.
# libinput.enable = true;
# updateDbusEnvironment = true;
# };
# Enable touchpad support.
updateDbusEnvironment = true;
};
libinput.enable = true;
};
environment.systemPackages = with pkgs; [
catppuccin-kde
sweet-nova
];
environment.systemPackages = with pkgs; [ catppuccin-kde sweet-nova ];
}

View File

@ -1,14 +1,10 @@
{ config, pkgs, lib, ... }:
let
unstable = import <nixos-unstable> { config.allowUnfree = true; };
in
{
let unstable = import <nixos-unstable> { config.allowUnfree = true; };
in {
imports = [ <home-manager/nixos> ];
networking = {
firewall.enable = false;
networkmanager = {
enable = true;
};
networkmanager = { enable = true; };
};
fonts = {
@ -62,9 +58,7 @@ in
programs = {
adb.enable = true;
ssh = {
startAgent = true;
};
ssh = { startAgent = true; };
# dconf.enable = true;
# gnupg.agent = {
# enable = true;
@ -94,7 +88,7 @@ in
rustdesk-flutter
glxinfo
gparted
gnome.simple-scan
simple-scan
];
home-manager.users.alex = { pkgs, ... }: {