From c229135ac7aef993761019a38ff80cdd79a57631 Mon Sep 17 00:00:00 2001 From: Akulij Date: Fri, 4 Oct 2024 17:01:03 +0000 Subject: [PATCH] add user akulij --- configuration.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) diff --git a/configuration.nix b/configuration.nix index db57086..5b30243 100644 --- a/configuration.nix +++ b/configuration.nix @@ -32,6 +32,7 @@ loader = { efi.canTouchEfiVariables = true; systemd-boot.enable = true; + systemd-boot.consoleMode = "max"; # Hide the OS choice for bootloaders. # It's still possible to open the bootloader list by pressing any key # It will just not appear on screen unless a key is pressed @@ -39,14 +40,37 @@ }; }; + services.greetd = { + enable = true; + settings = rec { + initial_session = { + command = "${pkgs.hyprland}/bin/Hyprland"; + user = "akulij"; + }; + default_session = initial_session; + }; + }; + + programs.hyprland = { + enable = true; + xwayland.enable = true; + }; + services.openssh.enable = true; environment.systemPackages = map lib.lowPrio [ pkgs.curl pkgs.gitMinimal pkgs.neovim + pkgs.kitty + pkgs.tmux ]; + users.users.akulij = { + isNormalUser = true; + extraGroups = [ "wheel" ]; + }; + users.users.root.openssh.authorizedKeys.keys = [ # change this to your ssh key "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQDCOZgbO0xzciMbBCSC1fZLEY8qIB4c+UK0niwVvaphOPp87xjE+eyeHDhQLntxhTeOgAob24pBmhycAkQXxu0FcDZN7RmZOyNTFFQPd2w8KRgGwUnZtfOFUaT9KxV0xpnfnJN+PeCeys9/jz5XHBzlei0HPuaC85KcKqa1GMNldtFELqa1MySAIQ0mV3TynLooqqjdr2kqou9DPEqC2A2VrdDn2FFc1+RuaiEitmOG2rLUHLSje2R+GN3kkPPtWI/CzapwHC/j7hcgPEPZcAT5Pe+cQqTMXpMGK2ZFsQsgCIhwPfKg/o8LN5QKYm8sJb42OftgTpoUJNMMWvRYv9J1lRa57wLyVNl56wchj/d5kh13CJ+WDR7KnaY00xlRHxXChp9ZU7sqFMgBOlS1OUQv5iDdUerLPrSIr9JqMVtkcP1betqDKFZLJYvRpV35IQX6FsDOuzTYkojX8gKsxPL6Prq0EHwtuatvGxNq/en7VBbzHRpf32+x8luypkFLoKM="