[feat] Added stuff

This commit is contained in:
uttarayan21
2024-03-22 00:19:15 +05:30
parent d5dc5a79d3
commit 488a66f3e4
5 changed files with 56 additions and 17 deletions

View File

@@ -14,34 +14,35 @@
./nvim.nix ./nvim.nix
./goread.nix ./goread.nix
./ncmpcpp.nix ./ncmpcpp.nix
# ./neomutt.nix
] ]
++ lib.optionals device.isLinux [../linux]; ++ lib.optionals device.isLinux [../linux];
home.packages = with pkgs; home.packages = with pkgs;
[ [
sony-headphones-client spotify-player
sd sd
go go
p7zip
picat
spotdl
davis
pandoc pandoc
gnupg
gpg-tui
slack
yarn
spotify-player
qmk
nodejs nodejs
neovide neovide
sqls sqls
vcpkg vcpkg
file
yt-dlp
gh gh
just just
yarn
# Misc
qmk
p7zip
yt-dlp
spotdl
picat
davis
gnupg
gpg-tui
file
jq jq
tldr tldr
bottom bottom
@@ -61,9 +62,11 @@
(nerdfonts.override {fonts = ["Hasklig"];}) (nerdfonts.override {fonts = ["Hasklig"];})
pfetch-rs pfetch-rs
psst psst
abaddon
] ]
++ lib.optionals device.isLinux [ ++ lib.optionals device.isLinux [
sony-headphones-client
abaddon
rr
mpv mpv
catppuccinThemes.gtk catppuccinThemes.gtk
catppuccinThemes.papirus-folders catppuccinThemes.papirus-folders
@@ -97,7 +100,7 @@
programs = { programs = {
direnv = { direnv = {
enable = true; enable = true;
# enableFishIntegration = true; # enableFishIntegration = true; // Auto enabled
enableNushellIntegration = true; enableNushellIntegration = true;
nix-direnv.enable = true; nix-direnv.enable = true;
}; };

View File

@@ -26,6 +26,9 @@
telescope-dap-nvim telescope-dap-nvim
octo-nvim octo-nvim
# Debuggging
nvim-dap-rr
# Treesitter stuff # Treesitter stuff
outline-nvim outline-nvim
@@ -451,6 +454,17 @@
enable_builtin = false, enable_builtin = false,
default_remote = {"upstream", "origin"}; default_remote = {"upstream", "origin"};
}) })
local rr_dap = require('nvim-dap-rr')
rr_dap.setup({
mappings = {
continue = "<F7>"
},
})
local dap = require'dap';
dap.configurations.rust = { rr_dap.get_rust_config() }
dap.configurations.cpp = { rr_dap.get_config() }
''; '';
package = pkgs.neovim-nightly; package = pkgs.neovim-nightly;
}; };

View File

@@ -100,6 +100,11 @@
system = "aarch64-darwin"; system = "aarch64-darwin";
user = "fs0c131y"; user = "fs0c131y";
} }
{
name = "Serviuss-iMac-Pro";
system = "x86_64-darwin";
user = "servius";
}
{ {
name = "SteamDeck"; name = "SteamDeck";
system = "x86_64-linux"; system = "x86_64-linux";

View File

@@ -4,7 +4,6 @@
{ {
config, config,
lib, lib,
pkgs,
modulesPath, modulesPath,
... ...
}: { }: {
@@ -16,6 +15,15 @@
driSupport32Bit = true; driSupport32Bit = true;
}; };
virtualisation.libvirtd.enable = true;
users.extraUsers.servius.extraGroups = ["libvirtd"];
boot.extraModprobeConfig = ''
options kvm_intel nested=1
options kvm_intel emulate_invalid_guest_state=0
options kvm ignore_msrs=1
'';
services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc. services.xserver.videoDrivers = ["nvidia"]; # or "nvidiaLegacy470 etc.
hardware.nvidia = { hardware.nvidia = {
# Modesetting is required. # Modesetting is required.

View File

@@ -130,6 +130,15 @@
sha256 = "sha256-S1LJXmShhpCJIg/FEPx3jFbmPpS/1U4MAQN2RY/nkI0"; sha256 = "sha256-S1LJXmShhpCJIg/FEPx3jFbmPpS/1U4MAQN2RY/nkI0";
}; };
}; };
nvim-dap-rr = final.pkgs.vimUtils.buildVimPlugin {
name = "nvim-dap-rr";
src = final.pkgs.fetchFromGitHub {
owner = "jonboh";
repo = "nvim-dap-rr";
rev = "master";
sha256 = "sha256-JNztLTSyHmEmh3xT4WR0cpP25vjZ4A6aQbnU49U6+Ss";
};
};
sqls-nvim = final.pkgs.vimUtils.buildVimPlugin { sqls-nvim = final.pkgs.vimUtils.buildVimPlugin {
name = "sqls-nvim"; name = "sqls-nvim";
src = final.pkgs.fetchFromGitHub { src = final.pkgs.fetchFromGitHub {