aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--home-manager/general/default.nix9
-rw-r--r--nixos/general.nix5
-rw-r--r--nixos/laptop/configuration.nix18
-rw-r--r--overlays/default.nix2
4 files changed, 25 insertions, 9 deletions
diff --git a/home-manager/general/default.nix b/home-manager/general/default.nix
index d10dc77..ebcdef0 100644
--- a/home-manager/general/default.nix
+++ b/home-manager/general/default.nix
@@ -5,8 +5,8 @@ let
configHome = "${homeDirectory}/.config";
cliPkgs = with pkgs; [
- fd fh tldr
- wget btop jq
+ fd fh tldr xdg-utils
+ wget btop jq unstable.devenv
bat fzf nix-prefetch-scripts
steam-run unzip ghostscript
xdragon python311 ripgrep
@@ -15,14 +15,14 @@ let
gamingPkgs = with pkgs; [
vkd3d mangohud gamemode
bottles steam
- ];
+ ];
guiPkgs = with pkgs; [
vesktop libreoffice-fresh
pokemon-colorscripts
telegram-desktop
transmission-gtk
osu-lazer-bin
- brave bruno
+ brave bruno spmp
];
imports = builtins.concatMap import [ ./programs ] ++ [ ./themes ];
@@ -34,6 +34,7 @@ in
inherit username homeDirectory;
stateVersion = "23.05";
packages = guiPkgs ++ gamingPkgs ++ cliPkgs;
+ sessionVariables.FLAKE = "/home/jerpo/nixfiles";
};
xdg = {
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 = [
diff --git a/overlays/default.nix b/overlays/default.nix
index 9a03471..52fd0ee 100644
--- a/overlays/default.nix
+++ b/overlays/default.nix
@@ -16,7 +16,7 @@
# When applied, the unstable nixpkgs set (declared in the flake inputs) will
# be accessible through 'pkgs.unstable'
unstable-packages = final: _prev: {
- unstable = import inputs.nixpkgs-unstable {
+ unstable = import inputs.nixpkgs-small {
system = final.system;
config.allowUnfree = true;
};