diff --git a/configuration/configuration.nix b/configuration/configuration.nix index 15f4c1f..e12846c 100644 --- a/configuration/configuration.nix +++ b/configuration/configuration.nix @@ -64,7 +64,7 @@ efi.canTouchEfiVariables = true; }; - kernelPackages = pkgs.linuxPackages_6_12; + kernelPackages = pkgs.linuxPackages_latest; }; networking = { diff --git a/flakes/flake.nix b/flakes/flake.nix index 34f5e52..3b28f82 100644 --- a/flakes/flake.nix +++ b/flakes/flake.nix @@ -31,8 +31,8 @@ c-sharp = pkgs.mkShell { buildInputs = with pkgs; [ dotnetCorePackages.sdk_9_0-bin - ] - } + ]; + }; rice = pkgs.mkShell { buildInputs = with pkgs; [ cmatrix diff --git a/home/modules/rice.nix b/home/modules/rice.nix index e04be92..b316b6f 100644 --- a/home/modules/rice.nix +++ b/home/modules/rice.nix @@ -62,18 +62,13 @@ git = { enable = true; - + package = pkgs.gitFull; + userName = "maxstrb"; userEmail = "max.stribrny@gmail.com"; - userName = "max_ag"; - extraConfig = { - credential.helper = "${ - pkgs.git.override {withLibsecret = true;} - }/bin/git-credential-libsecret"; - - push = {autoSetupRemote = true;}; - init.defaultBranch = "main"; + github.user = "maxstrb"; + credential.helper = "store"; }; }; diff --git a/home/modules/shells.nix b/home/modules/shells.nix index 6e29c5e..18154ae 100644 --- a/home/modules/shells.nix +++ b/home/modules/shells.nix @@ -55,7 +55,7 @@ "rs" => { flake rust -c $"nvim ($file)" } - "c" | "c++" => { + "c" | "cpp" => { flake c -c $"nvim ($file)" } _ => {nvim $file} @@ -75,8 +75,19 @@ config = "nvim /home/maxag/.nix-config/configuration/configuration.nix"; projects = "cd /mnt/removable/Projekty"; cat = "bat -p -P"; + nvim = "edit"; nix-shell = "nix-shell --run nu"; }; }; + + zoxide = { + enable = true; + enableBashIntegration = true; + enableNushellIntegration = true; + + options = [ + "--cmd cd" + ]; + }; }; }