Compare commits
No commits in common. "3d67b0862d8de7ca3ff3b86183f29be373638d01" and "c3239889c229eb9f4db048b783faf2698aa6f642" have entirely different histories.
3d67b0862d
...
c3239889c2
File diff suppressed because it is too large
Load Diff
@ -18,7 +18,5 @@
|
||||
galaxy-buds-client
|
||||
|
||||
fastfetch
|
||||
|
||||
yubioath-flutter
|
||||
];
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@ vim.o.termguicolors = true
|
||||
require("Comment").setup()
|
||||
|
||||
local builtin = require('telescope.builtin')
|
||||
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>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>fb', builtin.buffers, { desc = 'Telescope buffers' })
|
||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })
|
||||
|
||||
@ -12,16 +12,6 @@
|
||||
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;
|
||||
@ -82,23 +72,6 @@
|
||||
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
|
||||
|
||||
@ -17,9 +17,9 @@
|
||||
./miscNixStuff.nix
|
||||
./nerdFonts.nix
|
||||
./nixos-cli.nix
|
||||
./vmware.nix
|
||||
./lanzaboote.nix
|
||||
./gaming.nix
|
||||
./printing.nix
|
||||
./yubikey.nix
|
||||
];
|
||||
}
|
||||
|
||||
@ -17,6 +17,5 @@
|
||||
kdePackages.qtmultimedia
|
||||
plasmusic-toolbar
|
||||
plasma-browser-integration
|
||||
kdePackages.filelight
|
||||
];
|
||||
}
|
||||
|
||||
@ -1,4 +1,8 @@
|
||||
{config, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Enable sound with pipewire.
|
||||
hardware.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
@ -15,14 +19,8 @@
|
||||
#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;
|
||||
}
|
||||
|
||||
@ -2,6 +2,6 @@
|
||||
users.users.uzair = {
|
||||
isNormalUser = true;
|
||||
description = "Uzair Mohammed";
|
||||
extraGroups = ["networkmanager" "wheel" "docker" ];
|
||||
extraGroups = ["networkmanager" "wheel"];
|
||||
};
|
||||
}
|
||||
|
||||
@ -5,24 +5,4 @@
|
||||
|
||||
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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
8
system/modules/vmware.nix
Normal file
8
system/modules/vmware.nix
Normal file
@ -0,0 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
vmware-workstation
|
||||
];
|
||||
|
||||
virtualisation.vmware.host.enable = true;
|
||||
}
|
||||
@ -1,3 +0,0 @@
|
||||
{
|
||||
services.pcscd.enable = true;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user