From 2365411258827bf70212a8e315a7127bb0789e79 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sat, 13 Apr 2024 03:40:44 +0300 Subject: add some packages --- nixos/general.nix | 5 ++++- nixos/laptop/configuration.nix | 18 +++++++++++++++--- 2 files changed, 19 insertions(+), 4 deletions(-) (limited to 'nixos') diff --git a/nixos/general.nix b/nixos/general.nix index 92fa4d7..71400c8 100644 --- a/nixos/general.nix +++ b/nixos/general.nix @@ -31,6 +31,8 @@ experimental-features = "nix-command flakes"; # Deduplicate and optimize nix store auto-optimise-store = true; + + trusted-users = [ "root" "@wheel" ]; }; }; @@ -60,7 +62,8 @@ environment.systemPackages = with pkgs; [ neovim - git + git + nh ]; services = { diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix index 983e966..2ec1099 100644 --- a/nixos/laptop/configuration.nix +++ b/nixos/laptop/configuration.nix @@ -13,12 +13,23 @@ inputs.home-manager.nixosModules.home-manager ]; + services.greetd = { + enable = true; + settings = { + default_session = { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet -t -r -c Hyprland"; + user = "jerpo"; + }; + }; + }; + + programs.niri.enable = true; time.timeZone = "Europe/Moscow"; networking.hostName = "ltrr-mini"; - # virtualisation.libvirtd.enable = true; - # programs.virt-manager.enable = true; + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; services.xserver = { enable = false; @@ -40,7 +51,8 @@ }]; }; }; - # services.postgresql.enable = true; + + # virtualisation.waydroid.enable = true; programs.adb.enable = true; services.udev.packages = [ -- cgit v1.2.3