Added SDDM

This commit is contained in:
Alexandre 2025-12-14 18:55:19 +01:00
parent eab3bbcfc3
commit 3d77342df0
2 changed files with 25 additions and 9 deletions

View File

@ -21,6 +21,28 @@
# Enable Flakes # Enable Flakes
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
services = {
xserver = {
enable = true;
};
displayManager = {
defaultSession = "hyprland";
sddm = {
enable = true;
wayland.enable = false;
#enableHidpi = true;
package = pkgs.kdePackages.sddm;
theme = "sddm-astronaut-theme";
#settings.Theme.CursorTheme = "Bibata-Modern-Classic";
extraPackages = with pkgs; [
kdePackages.qtmultimedia
kdePackages.qtsvg
kdePackages.qtvirtualkeyboard
];
};
};
};
# 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";
@ -52,14 +74,6 @@
# Hint Electron Apps to use Wayland # Hint Electron Apps to use Wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1"; environment.sessionVariables.NIXOS_OZONE_WL = "1";
# Installs SDDM
services.displayManager = {
sddm = {
enable = true;
wayland.enable = true;
};
defaultSession = "hyprland";
};
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
@ -73,6 +87,8 @@
tree tree
kitty kitty
neovim neovim
# Theme SDDM
sddm-astronaut
]; ];
# Some programs need SUID wrappers, can be configured further or are # Some programs need SUID wrappers, can be configured further or are

View File

@ -21,7 +21,7 @@
# Keymap in X11 # Keymap in X11
services.xserver.xkb = { services.xserver.xkb = {
layout = "fr"; layout = "fr";
variant = "fr"; #variant = "fr";
}; };
# Keymap in the console # Keymap in the console