enabled gnome desktopmanager
This commit is contained in:
@@ -1,11 +1,16 @@
|
|||||||
{ inputs, ... }: {
|
{ inputs, ... }: {
|
||||||
flake.modules.nixos.gnome = {pkgs, ... }: {
|
flake.modules.nixos.gnome = {pkgs, ... }: {
|
||||||
|
services = {
|
||||||
|
desktopManager.gnome.enable = true;
|
||||||
|
displayManager.gdm.enable = true;
|
||||||
|
udev.packages = [
|
||||||
|
pkgs.gnome-settings-daemon # For gnome systray icons
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
# Workaround for GNOME autologin: https://github.com/NixOS/nixpkgs/issues/103746#issuecomment-945091229
|
||||||
systemd.services."getty@tty1".enable = false;
|
systemd.services."getty@tty1".enable = false;
|
||||||
systemd.services."autovt@tty1".enable = false;
|
systemd.services."autovt@tty1".enable = false;
|
||||||
|
|
||||||
# For gnome systray icons
|
|
||||||
services.udev.packages = with pkgs; [ gnome-settings-daemon ];
|
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.modules.homeManager.gnome = { pkgs, ... }: {
|
flake.modules.homeManager.gnome = { pkgs, ... }: {
|
||||||
|
|||||||
Reference in New Issue
Block a user