From a6beb65c22aabefc347f780500d521f330a5e3d4 Mon Sep 17 00:00:00 2001 From: coast Date: Mon, 6 Oct 2025 04:02:59 +0330 Subject: [PATCH] updates --- config/nvim/vim-graft/config.rb | 1 + config/nvim/vim-graft/graft.rb | 2 +- etc/nixos/compose.nix | 8 +++++++- etc/nixos/create.nix | 1 - etc/nixos/home.nix | 11 ++++++----- 5 files changed, 15 insertions(+), 8 deletions(-) diff --git a/config/nvim/vim-graft/config.rb b/config/nvim/vim-graft/config.rb index 1503530..09712c3 100644 --- a/config/nvim/vim-graft/config.rb +++ b/config/nvim/vim-graft/config.rb @@ -16,5 +16,6 @@ CONFIG = { "mattn/vim-lsp-settings", "hrsh7th/nvim-cmp", "hrsh7th/cmp-nvim-lsp", + "honza/vim-snippets", ] } diff --git a/config/nvim/vim-graft/graft.rb b/config/nvim/vim-graft/graft.rb index f75a4f2..a1798f0 100644 --- a/config/nvim/vim-graft/graft.rb +++ b/config/nvim/vim-graft/graft.rb @@ -41,7 +41,7 @@ PL.each do |plugin| end # install plugin - if system("git clone #{link} #{RT}/#{name}") + if system("git clone #{link} #{RT}/#{name} --depth=1") puts("Done: install plugin #{link}") else puts("Fatal: failed to install plugin #{link}") diff --git a/etc/nixos/compose.nix b/etc/nixos/compose.nix index eaf836f..d2ec90e 100644 --- a/etc/nixos/compose.nix +++ b/etc/nixos/compose.nix @@ -27,7 +27,7 @@ in powerManagement.enable = true; open = false; nvidiaSettings = true; - package = pkgs.linuxPackages.nvidiaPackages.stable; + package = pkgs.linuxPackages.nvidiaPackages.beta; }; bluetooth.enable = true; bluetooth.powerOnBoot = true; @@ -43,6 +43,8 @@ in environment.systemPackages = with pkgs; [ (lib.hiPrio unstable.uutils-coreutils-noprefix) + (lib.hiPrio unstable.uutils-findutils) + (lib.hiPrio unstable.uutils-diffutils) (pkgs.runCommand "vim-wrapper" { } '' mkdir -p $out/bin ln -s ${pkgs.neovim}/bin/nvim $out/bin/vim @@ -51,6 +53,10 @@ in unstable.git unstable.adwaita-icon-theme unstable.nil + jmtpfs + simple-mtpfs + android-tools + unstable.qbittorrent ]; nix.settings.experimental-features = [ "nix-command" "flakes" ]; diff --git a/etc/nixos/create.nix b/etc/nixos/create.nix index 108cd73..3195d06 100644 --- a/etc/nixos/create.nix +++ b/etc/nixos/create.nix @@ -42,7 +42,6 @@ nerd-fonts.jetbrains-mono ]; - services.openssh.enable = true; system.stateVersion = "25.05"; } diff --git a/etc/nixos/home.nix b/etc/nixos/home.nix index 1750fab..c244c05 100644 --- a/etc/nixos/home.nix +++ b/etc/nixos/home.nix @@ -9,10 +9,6 @@ mako = "mako"; nvim = "nvim"; }; - utilPkgs = with pkgs; [ alsa-utils nix-search-cli neofetch dysk nsxiv tree wl-clipboard appimage-run libnotify grim slurp yazi mate.caja htop nixpkgs-fmt ]; - windowManagerPkgs = with pkgs; [ wmenu mako nsxiv autotiling nwg-look xorg.xkill ]; - devPkgs = with pkgs; [ gcc clang-tools ruby_3_4 nodejs ]; - otherPkgs = with pkgs; [ mpv vesktop wlr-randr swaybg ]; in { home.username = "coast"; home.homeDirectory = "/home/coast"; @@ -20,7 +16,12 @@ in { xdg.configFile = builtins.mapAttrs (name: subpath: { source = mkSl "${dotDir}/${subpath}"; recursive = true; }) configs; - home.packages = windowManagerPkgs ++ devPkgs ++ utilPkgs ++ otherPkgs; + home.packages = with pkgs; [ + alsa-utils nix-search-cli neofetch dysk nsxiv tree wl-clipboard appimage-run libnotify grim slurp yazi mate.caja htop nixpkgs-fmt + swaybg wmenu mako nwg-look xorg.xkill + mpv vesktop wlr-randr rtorrent tor-browser + nodejs gcc gnumake clang-tools ruby_3_4 pkg-config + ]; programs.zsh = { enable = true;