Wechsel von Gnome zu Plasma KDE

This commit is contained in:
2026-05-18 15:44:36 +02:00
parent 3fe1bb8bb2
commit 7b7a85dcb1
6 changed files with 150 additions and 118 deletions
+10 -2
View File
@@ -8,8 +8,8 @@
imports = imports =
[ [
./hardware-configuration.nix ./hardware-configuration.nix
./modules/desktop/gnome.nix # ./modules/desktop/gnome.nix
# ./modules/desktop/kde.nix ./modules/desktop/kde.nix
# ./modules/desktop/hyprland.nix # ./modules/desktop/hyprland.nix
# ./modules/desktop/niri.nix # ./modules/desktop/niri.nix
]; ];
@@ -75,6 +75,11 @@
pulse.enable = true; pulse.enable = true;
}; };
# Bluetooth Support
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true;
services.blueman.enable = true;
# Enable touchpad support (enabled default in most desktopManager). # Enable touchpad support (enabled default in most desktopManager).
# services.xserver.libinput.enable = true; # services.xserver.libinput.enable = true;
@@ -122,6 +127,9 @@
xwayland-satellite xwayland-satellite
parted parted
vscodium vscodium
libreoffice-fresh
hunspell
signal-desktop
]; ];
programs.niri.enable = true; programs.niri.enable = true;
Generated
+44 -1
View File
@@ -20,6 +20,27 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_2": {
"inputs": {
"nixpkgs": [
"plasma-manager",
"nixpkgs"
]
},
"locked": {
"lastModified": 1756579987,
"narHash": "sha256-duCce8zGsaMsrqqOmLOsuaV1PVIw/vXWnKuLKZClsGg=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "99a69bdf8a3c6bf038c4121e9c4b6e99706a187a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"niri": { "niri": {
"inputs": { "inputs": {
"niri-stable": "niri-stable", "niri-stable": "niri-stable",
@@ -168,12 +189,34 @@
"type": "github" "type": "github"
} }
}, },
"plasma-manager": {
"inputs": {
"home-manager": "home-manager_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1775856943,
"narHash": "sha256-b7Mp7P+q2Md5AGt4rjHfMcBykzMumFTen10ST++AuTU=",
"owner": "nix-community",
"repo": "plasma-manager",
"rev": "a524a6160e6df89f7673ba293cf7d78b559eb1a5",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "plasma-manager",
"type": "github"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"niri": "niri", "niri": "niri",
"nixpkgs": "nixpkgs_2", "nixpkgs": "nixpkgs_2",
"noctalia": "noctalia" "noctalia": "noctalia",
"plasma-manager": "plasma-manager"
} }
}, },
"systems": { "systems": {
+16 -2
View File
@@ -11,14 +11,22 @@
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# Niri Flake (Offizielles Community-Flake) # Niri Flake (Offizielles Community-Flake)
niri.url = "github:sodiboo/niri-flake"; niri.url = "github:sodiboo/niri-flake";
# Noctalia Shell # Noctalia Shell
noctalia.url = "github:noctalia-dev/noctalia-shell"; noctalia.url = "github:noctalia-dev/noctalia-shell";
noctalia.inputs.nixpkgs.follows = "nixpkgs"; noctalia.inputs.nixpkgs.follows = "nixpkgs";
# Plasma-Manager
plasma-manager = {
url = "github:nix-community/plasma-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
}; };
outputs = { self, nixpkgs, home-manager, niri, noctalia, ... }@inputs: { outputs = { self, nixpkgs, home-manager, niri, noctalia, plasma-manager, ... }@inputs: {
nixosConfigurations = { nixosConfigurations = {
dukebook = nixpkgs.lib.nixosSystem { dukebook = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
@@ -28,9 +36,15 @@
home-manager.nixosModules.home-manager { home-manager.nixosModules.home-manager {
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.martin = import ./home.nix; home-manager.users.martin = {
imports = [
inputs.plasma-manager.homeManagerModules.plasma-manager
./home.nix
];
};
} }
niri.nixosModules.niri niri.nixosModules.niri
]; ];
}; };
}; };
+1 -1
View File
@@ -5,7 +5,7 @@
./modules/shell/alacritty.nix ./modules/shell/alacritty.nix
./modules/shell/aliases.nix ./modules/shell/aliases.nix
./modules/user/gnome-home.nix ./modules/user/gnome-home.nix
# ./modules/user/kde-home.nix ./modules/user/kde-home.nix
./modules/user/niri-home.nix ./modules/user/niri-home.nix
# ./modules/user/hyprland-home.nix # ./modules/user/hyprland-home.nix
+3 -2
View File
@@ -11,8 +11,9 @@
# Enable the X11 windowing system. # Enable the X11 windowing system.
services.xserver.enable = true; services.xserver.enable = true;
services.displayManager.gdm.enable = true; services.displayManager.sddm.enable = true;
services.desktopManager.gnome.enable = true; services.desktopManager.plasma6.enable = true;
services.displayManager.sddm.wayland.enable = true;
# Configure keymap in X11 # Configure keymap in X11
services.xserver.xkb.layout = "de"; services.xserver.xkb.layout = "de";
+39 -73
View File
@@ -2,9 +2,8 @@
{ {
imports = [ imports = [
./modules/shell/alacritty.nix ../shell/alacritty.nix
./system/default.nix ../shell/aliases.nix
./gnome.nix
]; ];
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
@@ -24,40 +23,6 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
# home.file.".alias" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.alias;
# recursive = true;
# };
# home.file.".bashrc" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.bashrc;
# recursive = true;
# };
#home.file.".config/kitty" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/kitty;
# recursive = true;
#};
#home.file.".thunderbird" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/.thunderbird;
# recursive = true;
#};
# home.file.".config/neofetch/config.conf" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/neofetch/config.conf;
# recursive = true;
# };
#home.file.".config/hypr" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/hypr;
# recursive = true;
#};
#home.file.".purple" = {
# source = /home/martin/Nextcloud/IT/mydotfiles/pidgin/.purple;
# recursive = true;
#};
home.packages = with pkgs; [ home.packages = with pkgs; [
htop htop
@@ -76,7 +41,7 @@
# yazi # yazi
pkgs.p7zip pkgs.p7zip
inetutils inetutils
signal-desktop # signal-desktop
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# pkgs.hello # pkgs.hello
@@ -109,36 +74,36 @@
# org.gradle.daemon.idletimeout=3600000 # org.gradle.daemon.idletimeout=3600000
# ''; # '';
}; };
gtk = { # gtk = {
enable = true; # enable = true;
#
iconTheme = { # iconTheme = {
name = "Papirus-Dark"; # name = "Papirus-Dark";
package = pkgs.papirus-icon-theme; # package = pkgs.papirus-icon-theme;
}; # };
#
theme = { # theme = {
name = "palenight"; # name = "palenight";
package = pkgs.palenight-theme; # package = pkgs.palenight-theme;
}; # };
#
cursorTheme = { # cursorTheme = {
name = "Numix-Cursor"; # name = "Numix-Cursor";
package = pkgs.numix-cursor-theme; # package = pkgs.numix-cursor-theme;
}; # };
#
gtk3.extraConfig = { # gtk3.extraConfig = {
Settings = '' # Settings = ''
gtk-application-prefer-dark-theme=1 # gtk-application-prefer-dark-theme=1
''; # '';
}; # };
#
gtk4.extraConfig = { # gtk4.extraConfig = {
Settings = '' # Settings = ''
gtk-application-prefer-dark-theme=1 # gtk-application-prefer-dark-theme=1
''; # '';
}; # };
}; # };
# Home Manager can also manage your environment variables through # Home Manager can also manage your environment variables through
# 'home.sessionVariables'. If you don't want to manage your shell through Home # 'home.sessionVariables'. If you don't want to manage your shell through Home
# Manager then you have to manually source 'hm-session-vars.sh' located at # Manager then you have to manually source 'hm-session-vars.sh' located at
@@ -150,12 +115,13 @@
# #
# /etc/profiles/per-user/martin/etc/profile.d/hm-session-vars.sh # /etc/profiles/per-user/martin/etc/profile.d/hm-session-vars.sh
# #
home.sessionVariables = { # home.sessionVariables = {
# EDITOR = "emacs"; # EDITOR = "emacs";
GTK_THEME = "palenight"; # GTK_THEME = "palenight";
}; # };
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
fonts.fontconfig.enable = true; # fonts.fontconfig.enable = true;
programs.home-manager.enable = true; # programs.home-manager.enable = true;
} }