diff options
feat(mora): use NeoVim config and Niri from flakes
Diffstat (limited to '')
-rw-r--r-- | user-mora.nix | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/user-mora.nix b/user-mora.nix index 3a00430..c5ea169 100644 --- a/user-mora.nix +++ b/user-mora.nix @@ -7,6 +7,11 @@ let }; in { + imports = [ + inputs.niri.homeModules.niri + inputs.neovim-configuration.homeModules.default + ]; + home.stateVersion = "24.11"; home.username = "mora"; home.homeDirectory = "/home/mora"; @@ -22,15 +27,19 @@ in ### + ### NeoVim + ### + # NOTE: this section works only due to neovim-configuration module + nvim.enable = true; + + + ### ### Software ### programs.eza.enable = true; programs.ripgrep.enable = true; programs.zoxide.enable = true; - programs.neovim.enable = true; - programs.neovim.defaultEditor = true; - programs.git = { enable = true; delta.enable = true; @@ -103,6 +112,13 @@ in ### + ### Graphical Session + ### + programs.niri.enable = true; + programs.niri.package = pkgs.niri-unstable; + + + ### ### Extra Packages ### home.packages = with pkgs; [ @@ -129,7 +145,6 @@ in wireguard-tools # Applications - niri-unstable fuzzel inputs.aylurs-gtk-shell.packages.${pkgs.system}.agsFull inputs.wezterm.packages.${pkgs.system}.default @@ -172,7 +187,7 @@ in Unit.Wants = [ "niri.service" ]; Install.WantedBy = [ "graphical-session.target" ]; Service = { - ExecStart = "${pkgs.xwayland-satellite}/bin/xwayland-satellite"; + ExecStart = "${pkgs.xwayland-satellite-unstable}/bin/xwayland-satellite"; Restart = "on-failure"; }; }; |