From 08c2f0eabaa0230822fd752357a50b7e33cdaaa1 Mon Sep 17 00:00:00 2001 From: Asdam9 Date: Tue, 21 Jul 2026 17:50:47 +0200 Subject: [PATCH] Updates --- modules/features/devenv.nix | 7 +++++++ modules/features/lf.nix | 6 ++++-- modules/features/niri.nix | 7 +++++++ modules/host/laptop/configuration.nix | 7 +++++++ modules/profiles/profiles.nix | 6 ++++++ 5 files changed, 31 insertions(+), 2 deletions(-) create mode 100644 modules/features/devenv.nix diff --git a/modules/features/devenv.nix b/modules/features/devenv.nix new file mode 100644 index 0000000..5c20beb --- /dev/null +++ b/modules/features/devenv.nix @@ -0,0 +1,7 @@ +{ + flake.nixosModules.devenv = {pkgs, ...}: { + environment.systemPackages = [ + pkgs.devenv + ]; + }; +} diff --git a/modules/features/lf.nix b/modules/features/lf.nix index 6609877..cbfd779 100644 --- a/modules/features/lf.nix +++ b/modules/features/lf.nix @@ -17,8 +17,10 @@ #set drawbox true #set icons true set ignorecase true + set scrolloff 10 + set cursorpreviewfmt "\033[7;2m" - cmd stripspace %stripscpase "$f" + cmd stripspace %stripscpase "$f" map "\"" map o @@ -37,8 +39,8 @@ map r reload map C clear map U unselect - map do drag-out + map g~ cd map gh cd map g/ / diff --git a/modules/features/niri.nix b/modules/features/niri.nix index 38688ac..2f89175 100644 --- a/modules/features/niri.nix +++ b/modules/features/niri.nix @@ -71,6 +71,13 @@ default-column-width = { proportion = 1.; }; opacity = 1.; } + { + matches = [ + { app-id = "zathura"; } + { app-id = "mpv"; } + ]; + opacity = 1.; + } { matches = [ { app-id = "Alacritty"; } ]; excludes = [ { is-focused = false; } ]; diff --git a/modules/host/laptop/configuration.nix b/modules/host/laptop/configuration.nix index 41859ad..ae1a423 100644 --- a/modules/host/laptop/configuration.nix +++ b/modules/host/laptop/configuration.nix @@ -5,12 +5,14 @@ self.nixosModules.base self.nixosModules.laptopHardware self.nixosModules.visualProfile + self.nixosModules.developmentProfile ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; fonts.packages = with pkgs; [ nerd-fonts.bitstream-vera-sans-mono + montserrat ]; # BIOS @@ -83,6 +85,11 @@ vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. wget zathura + zip + unzip + faugus-launcher + texliveFull + mpv #self.packages.${pkgs.system}.lf ]; diff --git a/modules/profiles/profiles.nix b/modules/profiles/profiles.nix index 3fc22b2..eac1578 100644 --- a/modules/profiles/profiles.nix +++ b/modules/profiles/profiles.nix @@ -28,5 +28,11 @@ ]; }; + flake.nixosModules.developmentProfile = { pkgs, ... }: { + imports = [ + self.nixosModules.devenv + ]; + }; + #flake.nixosModules.INSERTNAMEHERE = { pkgs, ... }: {}; }