Update system

This commit is contained in:
2026-03-06 06:06:10 +03:00
parent 04a99bdd4a
commit c4c77bec1b
9 changed files with 91 additions and 53 deletions
-6
View File
@@ -1,6 +0,0 @@
{ pkgs, ... }: {
home.packages = with pkgs; [
jetbrains.idea-oss
android-studio
];
}
+1
View File
@@ -4,6 +4,7 @@
vesktop
obs-studio
mpv
imhex
obsidian
qbittorrent
thunderbird
+12 -9
View File
@@ -1,5 +1,4 @@
{ config, pkgs, ... }: {
home.packages = [ pkgs.nh ];
{ config, osConfig, pkgs, lib, ... }: {
programs = {
zoxide.enable = true;
fzf.enable = true;
@@ -51,22 +50,21 @@
autosuggestion.enable = true;
syntaxHighlighting.enable = true;
shellAliases = let
flakeDir = "~/nix";
in {
rb = "nh os switch ${flakeDir}";
trb = "nh os test ${flakeDir}";
upd = "nix flake update --flake ${flakeDir}";
shellAliases = {
rb = "nh os switch";
trb = "nh os test";
upd = "nix flake update --flake ~/nix";
cat = "${pkgs.lib.getExe pkgs.bat}";
cd = "z";
lg = "lazygit";
s = "nix-shell . --run zsh";
} // lib.optionalAttrs osConfig.boot.loader.grub.useOSProber {
win = "sudo grub-reboot 2; sudo reboot";
};
initContent = ''
eval "$(zoxide init zsh)"
eval "$(nh completions zsh)"
source "$(fzf-share)/key-bindings.zsh"
source "$(fzf-share)/completion.zsh"
'';
@@ -84,5 +82,10 @@
oh-my-zsh.enable = true;
};
nh = {
enable = true;
flake = "nix";
};
};
}