Wechsel von Gnome zu Plasma KDE
This commit is contained in:
+46
-38
@@ -1,38 +1,38 @@
|
|||||||
# Edit this configuration file to define what should be installed on
|
# Edit this configuration file to define what should be installed on
|
||||||
# your system. Help is available in the configuration.nix(5) man page, on
|
# your system. Help is available in the configuration.nix(5) man page, on
|
||||||
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
# https://search.nixos.org/options and in the NixOS manual (`nixos-help`).
|
||||||
|
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
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
|
||||||
];
|
];
|
||||||
|
|
||||||
# Use the systemd-boot EFI boot loader.
|
# Use the systemd-boot EFI boot loader.
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
boot.loader.efi.canTouchEfiVariables = true;
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
boot.initrd.enable = true;
|
boot.initrd.enable = true;
|
||||||
|
|
||||||
# LUKS Partition
|
# LUKS Partition
|
||||||
boot.initrd.luks.devices = {
|
boot.initrd.luks.devices = {
|
||||||
dukebook0 = {
|
dukebook0 = {
|
||||||
device = "/dev/disk/by-uuid/aaebdca2-acfb-4156-a8f7-057fd9e9e328";
|
device = "/dev/disk/by-uuid/aaebdca2-acfb-4156-a8f7-057fd9e9e328";
|
||||||
preLVM = true;
|
preLVM = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
# # LVM Volume Mounts
|
# # LVM Volume Mounts
|
||||||
# fileSystems."/home/martin/Nextcloud" = {
|
# fileSystems."/home/martin/Nextcloud" = {
|
||||||
# device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
|
# device = "dev/disk/by-uuid/5142d945-7948-4bc9-85ca-7f6dc760d17a";
|
||||||
# fsType = "ext4";
|
# fsType = "ext4";
|
||||||
# };
|
# };
|
||||||
|
|
||||||
networking.hostName = "dukebook"; # Define your hostname.
|
networking.hostName = "dukebook"; # Define your hostname.
|
||||||
# Pick only one of the below networking options.
|
# Pick only one of the below networking options.
|
||||||
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||||
@@ -41,7 +41,7 @@
|
|||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time.timeZone = "Europe/Berlin";
|
time.timeZone = "Europe/Berlin";
|
||||||
|
|
||||||
programs.dconf.enable = true;
|
programs.dconf.enable = true;
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
# networking.proxy.noProxy = "127.0.0.1,localhost,internal.domain";
|
||||||
@@ -57,7 +57,7 @@
|
|||||||
# Enable Gnome3 Keyring
|
# Enable Gnome3 Keyring
|
||||||
# services.gnome.gnome-keyring.enable = true;
|
# services.gnome.gnome-keyring.enable = true;
|
||||||
|
|
||||||
# Enable CUPS to print documents.2
|
# Enable CUPS to print documents.2
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
services.avahi = {
|
services.avahi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
@@ -74,6 +74,11 @@
|
|||||||
alsa.enable = true;
|
alsa.enable = true;
|
||||||
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;
|
||||||
@@ -119,12 +124,15 @@
|
|||||||
pfetch
|
pfetch
|
||||||
neovim
|
neovim
|
||||||
gnome-software
|
gnome-software
|
||||||
xwayland-satellite
|
xwayland-satellite
|
||||||
parted
|
parted
|
||||||
vscodium
|
vscodium
|
||||||
|
libreoffice-fresh
|
||||||
|
hunspell
|
||||||
|
signal-desktop
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.niri.enable = true;
|
programs.niri.enable = true;
|
||||||
|
|
||||||
programs.neovim = {
|
programs.neovim = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|||||||
Generated
+44
-1
@@ -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": {
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user