aboutsummaryrefslogtreecommitdiff
path: root/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'nixos')
-rw-r--r--nixos/general.nix5
-rw-r--r--nixos/laptop/configuration.nix18
2 files changed, 19 insertions, 4 deletions
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 = [