This commit is contained in:
coast 2025-10-06 04:02:59 +03:30
parent d13ef15feb
commit a6beb65c22
5 changed files with 15 additions and 8 deletions

View file

@ -16,5 +16,6 @@ CONFIG = {
"mattn/vim-lsp-settings", "mattn/vim-lsp-settings",
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
"hrsh7th/cmp-nvim-lsp", "hrsh7th/cmp-nvim-lsp",
"honza/vim-snippets",
] ]
} }

View file

@ -41,7 +41,7 @@ PL.each do |plugin|
end end
# install plugin # install plugin
if system("git clone #{link} #{RT}/#{name}") if system("git clone #{link} #{RT}/#{name} --depth=1")
puts("Done: install plugin #{link}") puts("Done: install plugin #{link}")
else else
puts("Fatal: failed to install plugin #{link}") puts("Fatal: failed to install plugin #{link}")

View file

@ -27,7 +27,7 @@ in
powerManagement.enable = true; powerManagement.enable = true;
open = false; open = false;
nvidiaSettings = true; nvidiaSettings = true;
package = pkgs.linuxPackages.nvidiaPackages.stable; package = pkgs.linuxPackages.nvidiaPackages.beta;
}; };
bluetooth.enable = true; bluetooth.enable = true;
bluetooth.powerOnBoot = true; bluetooth.powerOnBoot = true;
@ -43,6 +43,8 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
(lib.hiPrio unstable.uutils-coreutils-noprefix) (lib.hiPrio unstable.uutils-coreutils-noprefix)
(lib.hiPrio unstable.uutils-findutils)
(lib.hiPrio unstable.uutils-diffutils)
(pkgs.runCommand "vim-wrapper" { } '' (pkgs.runCommand "vim-wrapper" { } ''
mkdir -p $out/bin mkdir -p $out/bin
ln -s ${pkgs.neovim}/bin/nvim $out/bin/vim ln -s ${pkgs.neovim}/bin/nvim $out/bin/vim
@ -51,6 +53,10 @@ in
unstable.git unstable.git
unstable.adwaita-icon-theme unstable.adwaita-icon-theme
unstable.nil unstable.nil
jmtpfs
simple-mtpfs
android-tools
unstable.qbittorrent
]; ];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];

View file

@ -42,7 +42,6 @@
nerd-fonts.jetbrains-mono nerd-fonts.jetbrains-mono
]; ];
services.openssh.enable = true; services.openssh.enable = true;
system.stateVersion = "25.05"; system.stateVersion = "25.05";
} }

View file

@ -9,10 +9,6 @@
mako = "mako"; mako = "mako";
nvim = "nvim"; 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 { in {
home.username = "coast"; home.username = "coast";
home.homeDirectory = "/home/coast"; home.homeDirectory = "/home/coast";
@ -20,7 +16,12 @@ in {
xdg.configFile = builtins.mapAttrs (name: subpath: { source = mkSl "${dotDir}/${subpath}"; recursive = true; }) configs; 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 = { programs.zsh = {
enable = true; enable = true;