diff --git a/hmModules/apps/fish/app.nix b/hmModules/apps/fish/app.nix index 8c9c680..0b00897 100644 --- a/hmModules/apps/fish/app.nix +++ b/hmModules/apps/fish/app.nix @@ -1,4 +1,4 @@ -{ config, lib, pkgs, ... }: +{ config, lib, ... }: let functionModule = with lib.types; submodule { options = { @@ -21,9 +21,6 @@ in { config = lib.mkIf config.fish.enable { programs.fish = { enable = true; - interactiveShellInit = '' - ${pkgs.nix-your-shell}/bin/nix-your-shell fish | source - ''; functions = { fish_greeting = ""; fish_prompt = '' diff --git a/hmModules/apps/neovim/app.nix b/hmModules/apps/neovim/app.nix index 4ef6b51..4a1ddfd 100644 --- a/hmModules/apps/neovim/app.nix +++ b/hmModules/apps/neovim/app.nix @@ -105,15 +105,9 @@ ]); rust-pkg = lopts cfgl.rust.enable (with pkgs.vimPlugins; [ - { - plugin = rustaceanvim; - type = "lua"; - config = '' - vim.g.rust_recommended_style = 0 - ''; - } + rustaceanvim ]); - + go-pkg = lopts cfgl.go.enable (with pkgs.vimPlugins; [ go-nvim ]); diff --git a/hmModules/apps/neovim/options.lua b/hmModules/apps/neovim/options.lua index db669e2..dfa4906 100644 --- a/hmModules/apps/neovim/options.lua +++ b/hmModules/apps/neovim/options.lua @@ -33,9 +33,6 @@ vim.opt.backup = false vim.opt.undofile = true vim.opt.undodir = '/home/pan/.config/nvim/undodir' --- Error viewing -vim.keymap.set('n', 'd', function() vim.diagnostic.open_float() end) - -- Easy copy and pasting to external programs -- map "+yy -- map "+P diff --git a/hosts/onizuka/host.nix b/hosts/onizuka/host.nix index 5b139c5..1dc0e1c 100644 --- a/hosts/onizuka/host.nix +++ b/hosts/onizuka/host.nix @@ -15,7 +15,7 @@ sshd.enable = true; tuigreet.enable = true; - niri.enable = true; + hyprland.enable = true; steam.enable = true; steam.gamemode = true; diff --git a/hosts/onizuka/users/pan/user.nix b/hosts/onizuka/users/pan/user.nix index 2efdf12..21abf26 100644 --- a/hosts/onizuka/users/pan/user.nix +++ b/hosts/onizuka/users/pan/user.nix @@ -72,7 +72,6 @@ treesitter.enable = true; wiki.enable = true; }; - neovim.themes.catppuccin.enable = true; lf.enable = true; lf.hiddenfiles = [ diff --git a/nixosModules/services/displaymanager/service.nix b/nixosModules/services/displaymanager/service.nix index 92f2d75..1110828 100644 --- a/nixosModules/services/displaymanager/service.nix +++ b/nixosModules/services/displaymanager/service.nix @@ -6,19 +6,15 @@ }; config = lib.mkIf config.tuigreet.enable { - services.greetd = let - wm = - if config.hyprland.enable then "Hyprland" - else (if config.niri.enable then "niri" else null); - in { + services.greetd = { enable = true; package = pkgs.greetd.tuigreet; settings = { terminal = { vt = 2; }; - default_session = lib.mkIf (wm != null) { - command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd ${wm}"; + default_session = lib.mkIf config.hyprland.enable { + command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland"; user = "greeter"; }; };