mirror of
https://codeberg.org/ultra/nixos-dotfiles.git
synced 2024-11-25 07:03:08 +02:00
fix xserver
Signed-off-by: Alex Stan <stan.alexandru@ichb.ro>
This commit is contained in:
parent
9f82af8968
commit
b1314a02af
1 changed files with 19 additions and 17 deletions
|
@ -48,19 +48,6 @@ in {
|
||||||
LC_TIME = "ro_RO.utf8";
|
LC_TIME = "ro_RO.utf8";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable the X11 windowing system.
|
|
||||||
services.xserver.enable = true;
|
|
||||||
|
|
||||||
# Enable the KDE Plasma Desktop Environment.
|
|
||||||
services.xserver.displayManager.sddm.enable = true;
|
|
||||||
services.xserver.desktopManager.plasma5.enable = true;
|
|
||||||
|
|
||||||
# Configure keymap in X11
|
|
||||||
services.xserver = {
|
|
||||||
layout = "ro";
|
|
||||||
xkbVariant = "";
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable CUPS to print documents.
|
# Enable CUPS to print documents.
|
||||||
services.printing.enable = true;
|
services.printing.enable = true;
|
||||||
|
|
||||||
|
@ -132,10 +119,6 @@ in {
|
||||||
hashedPassword = "$6$OBjnSQhhJgHsr5LE$jFtUz.2qv0l2viv86exXmfHWC0fDFXKD3rqH41NmqgkdoBrwY2rPkDBCPjdq7PSoeudYcQ0nXxJvh1N7EIUs90";
|
hashedPassword = "$6$OBjnSQhhJgHsr5LE$jFtUz.2qv0l2viv86exXmfHWC0fDFXKD3rqH41NmqgkdoBrwY2rPkDBCPjdq7PSoeudYcQ0nXxJvh1N7EIUs90";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Enable automatic login for the user.
|
|
||||||
services.xserver.displayManager.autoLogin.enable = true;
|
|
||||||
services.xserver.displayManager.autoLogin.user = "ultra";
|
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
||||||
|
@ -217,6 +200,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
emacs = {
|
emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -228,6 +212,24 @@ in {
|
||||||
packagekit.enable = true;
|
packagekit.enable = true;
|
||||||
xserver = {
|
xserver = {
|
||||||
wacom.enable = true;
|
wacom.enable = true;
|
||||||
|
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
# Enable KDE Plasma 5
|
||||||
|
displayManager = {
|
||||||
|
|
||||||
|
# Enable autologin
|
||||||
|
autoLogin = {
|
||||||
|
enable = true;
|
||||||
|
user = "ultra";
|
||||||
|
};
|
||||||
|
sddm.enable = true;
|
||||||
|
}
|
||||||
|
desktopManager.plasma5.enable = true;
|
||||||
|
|
||||||
|
# Keymap
|
||||||
|
layout = "ro";
|
||||||
|
xkbVariant = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
|
Loading…
Reference in a new issue