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

View File

@@ -26,6 +26,9 @@
telescope-dap-nvim
octo-nvim
# Debuggging
nvim-dap-rr
# Treesitter stuff
outline-nvim
@@ -451,6 +454,17 @@
enable_builtin = false,
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;
};

View File

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

View File

@@ -4,7 +4,6 @@
{
config,
lib,
pkgs,
modulesPath,
...
}: {
@@ -16,6 +15,15 @@
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.
hardware.nvidia = {
# Modesetting is required.

View File

@@ -130,6 +130,15 @@
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 {
name = "sqls-nvim";
src = final.pkgs.fetchFromGitHub {