From 4ed188828c9097e219926bbf71817c24f05a44e4 Mon Sep 17 00:00:00 2001 From: spl3g Date: Wed, 24 Jul 2024 17:14:14 +0500 Subject: add command option to greetd --- nixos/pc/configuration.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'nixos/pc') diff --git a/nixos/pc/configuration.nix b/nixos/pc/configuration.nix index 5d15f41..f77564f 100644 --- a/nixos/pc/configuration.nix +++ b/nixos/pc/configuration.nix @@ -1,8 +1,9 @@ -{ inputs, outputs, lib, config, pkgs, ... }: { +{ pkgs, ... }: { imports = [ ../general.nix ./hardware-configuration.nix ../nixosModules/printing.nix + ../nixosModules/greetd.nix ]; time.timeZone = "Asia/Yekaterinburg"; @@ -10,12 +11,21 @@ printing.enable = true; + programs.adb.enable = true; + services.udev.packages = [ + pkgs.android-udev-rules + ]; + services.xserver = { enable = true; displayManager.startx.enable = true; }; - + services.openssh.enable = true; + + greetd.command = "startx"; + + system.stateVersion = "24.11"; } -- cgit v1.2.3