Compare commits

...

2 Commits

11 changed files with 2123 additions and 17 deletions

File diff suppressed because it is too large Load Diff

View File

@ -18,5 +18,7 @@
galaxy-buds-client
fastfetch
yubioath-flutter
];
}

View File

@ -12,7 +12,7 @@ vim.o.termguicolors = true
require("Comment").setup()
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })
vim.keymap.set('n', '<leader>fg', builtin.live_grep, { desc = 'Telescope live grep' })
vim.keymap.set('n', '<leader> ', builtin.find_files, { desc = 'Telescope find files' })
vim.keymap.set('n', '<leader>/', builtin.live_grep, { desc = 'Telescope live grep' })
vim.keymap.set('n', '<leader>fb', builtin.buffers, { desc = 'Telescope buffers' })
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })

View File

@ -12,6 +12,16 @@
functions = {
gitignore = "touch .gitignore && curl -sL https://www.gitignore.io/api/$argv >> .gitignore";
finit = "nix flake init --template \"https://flakehub.com/f/the-nix-way/dev-templates/*#$argv\"";
y = ''
function y
set tmp (mktemp -t "yazi-cwd.XXXXXX")
yazi $argv --cwd-file="$tmp"
if set cwd (command cat -- "$tmp"); and [ -n "$cwd" ]; and [ "$cwd" != "$PWD" ]
builtin cd -- "$cwd"
end
rm -f -- "$tmp"
end
'';
};
generateCompletions = true;
@ -72,6 +82,23 @@
nix-direnv.enable = true;
};
programs.yazi = {
enable = true;
enableFishIntegration = true;
};
programs.bat = {
enable = true;
enableFishIntegration = true;
themes = {
catppuccin = {
src = builtins.readFile ./batThemes/CatppuccinMocha.tmTheme;
file = "CatppuccinMocha.tmTheme";
};
};
};
# Enable powershell
home.packages = with pkgs; [
powershell

View File

@ -17,9 +17,9 @@
./miscNixStuff.nix
./nerdFonts.nix
./nixos-cli.nix
./vmware.nix
./lanzaboote.nix
./gaming.nix
./printing.nix
./yubikey.nix
];
}

View File

@ -17,5 +17,6 @@
kdePackages.qtmultimedia
plasmusic-toolbar
plasma-browser-integration
kdePackages.filelight
];
}

View File

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{config, ...}: {
# Enable sound with pipewire.
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
@ -19,8 +15,14 @@
#media-session.enable = true;
};
# To enable the OBS Virtual Camera
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
boot.kernelModules = [
"v4l2loopback"
];
boot.extraModprobeConfig = ''
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
'';
security.polkit.enable = true;
}

View File

@ -2,6 +2,6 @@
users.users.uzair = {
isNormalUser = true;
description = "Uzair Mohammed";
extraGroups = ["networkmanager" "wheel"];
extraGroups = ["networkmanager" "wheel" "docker" ];
};
}

View File

@ -5,4 +5,24 @@
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
# VMWare
environment.systemPackages = with pkgs; [
vmware-workstation
];
virtualisation.vmware.host.enable = true;
# Docker
virtualisation.docker = {
enable = true;
rootless = {
enable = true;
setSocketVariable = true;
};
daemon.settings = {
data-root = "/home/uzair/DockerData";
};
};
}

View File

@ -1,8 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
vmware-workstation
];
virtualisation.vmware.host.enable = true;
}

View File

@ -0,0 +1,3 @@
{
services.pcscd.enable = true;
}