Separated Kde-Plasma from other configs. Started work on Hyprland config!
This commit is contained in:
@ -22,11 +22,6 @@
|
||||
imports =
|
||||
[
|
||||
./hardware-configuration.nix
|
||||
#Moved to flake.nix
|
||||
#./packages.nix
|
||||
#./firefox.nix
|
||||
#./zsh.nix
|
||||
#./lockscreen.nix
|
||||
];
|
||||
|
||||
# Bootloader.
|
||||
@ -83,21 +78,6 @@
|
||||
LC_TIME = "de_DE.UTF-8";
|
||||
};
|
||||
|
||||
# Enable the X11 windowing system.
|
||||
# You can disable this if you're only using the Wayland session.
|
||||
services.xserver.enable = true;
|
||||
|
||||
# Enable the KDE Plasma Desktop Environment.
|
||||
services.displayManager.sddm.enable = true;
|
||||
services.desktopManager.plasma6 = {
|
||||
enable = true;
|
||||
#Wallpaper options isnt available anymore in Plasma6
|
||||
#wallpaper = {
|
||||
# mode = "scale";
|
||||
# image = "/etc/nixos/other/wallpaper.png";
|
||||
#};
|
||||
};
|
||||
|
||||
services.ollama = {
|
||||
enable = true;
|
||||
# Optional: load models on startup
|
||||
@ -108,16 +88,10 @@
|
||||
enable = true;
|
||||
package = pkgs.plocate;
|
||||
#To get rid of warning
|
||||
#Depircated:
|
||||
#Depricated:
|
||||
#localuser = null;
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.xkb = {
|
||||
layout = "de";
|
||||
variant = "";
|
||||
};
|
||||
|
||||
services.tailscale.enable = true;
|
||||
|
||||
fonts.packages = with pkgs; [
|
||||
@ -133,21 +107,21 @@
|
||||
# Enable CUPS to print documents.
|
||||
services.printing.enable = true;
|
||||
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
#media-session.enable = true;
|
||||
};
|
||||
# # Enable sound with pipewire.
|
||||
# services.pulseaudio.enable = false;
|
||||
# security.rtkit.enable = true;
|
||||
# services.pipewire = {
|
||||
# enable = true;
|
||||
# alsa.enable = true;
|
||||
# alsa.support32Bit = true;
|
||||
# pulse.enable = true;
|
||||
# # If you want to use JACK applications, uncomment this
|
||||
# #jack.enable = true;
|
||||
#
|
||||
# # use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# # no need to redefine it in your config for now)
|
||||
# #media-session.enable = true;
|
||||
# };
|
||||
|
||||
# Enable touchpad support (enabled default in most desktopManager).
|
||||
# services.xserver.libinput.enable = true;
|
||||
@ -163,16 +137,7 @@
|
||||
};
|
||||
|
||||
#So no user in the group Wheel has to input the password in order to use sudo
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
#theme-reminder uses a definitive /home/cookiez path!!!
|
||||
system.activationScripts.script.text = ''
|
||||
source /etc/nixos/other/colors.sh
|
||||
source /etc/nixos/other/pfp.sh
|
||||
|
||||
source /etc/nixos/other/theme-reminder.sh
|
||||
'';
|
||||
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# #Install firefox.
|
||||
#programs.firefox.enable = true;
|
||||
@ -187,8 +152,6 @@
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
# programs.mtr.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user