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
|
galaxy-buds-client
|
||||||
|
|
||||||
fastfetch
|
fastfetch
|
||||||
|
|
||||||
yubioath-flutter
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -12,7 +12,7 @@ vim.o.termguicolors = true
|
|||||||
require("Comment").setup()
|
require("Comment").setup()
|
||||||
|
|
||||||
local builtin = require('telescope.builtin')
|
local builtin = require('telescope.builtin')
|
||||||
vim.keymap.set('n', '<leader> ', builtin.find_files, { desc = 'Telescope find files' })
|
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })
|
||||||
vim.keymap.set('n', '<leader>/', builtin.live_grep, { desc = 'Telescope live grep' })
|
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>fb', builtin.buffers, { desc = 'Telescope buffers' })
|
||||||
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })
|
vim.keymap.set('n', '<leader>fh', builtin.help_tags, { desc = 'Telescope help tags' })
|
||||||
|
|||||||
@ -12,16 +12,6 @@
|
|||||||
functions = {
|
functions = {
|
||||||
gitignore = "touch .gitignore && curl -sL https://www.gitignore.io/api/$argv >> .gitignore";
|
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\"";
|
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;
|
generateCompletions = true;
|
||||||
@ -82,23 +72,6 @@
|
|||||||
nix-direnv.enable = true;
|
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
|
# Enable powershell
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
powershell
|
powershell
|
||||||
|
|||||||
@ -17,9 +17,9 @@
|
|||||||
./miscNixStuff.nix
|
./miscNixStuff.nix
|
||||||
./nerdFonts.nix
|
./nerdFonts.nix
|
||||||
./nixos-cli.nix
|
./nixos-cli.nix
|
||||||
|
./vmware.nix
|
||||||
./lanzaboote.nix
|
./lanzaboote.nix
|
||||||
./gaming.nix
|
./gaming.nix
|
||||||
./printing.nix
|
./printing.nix
|
||||||
./yubikey.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -17,6 +17,5 @@
|
|||||||
kdePackages.qtmultimedia
|
kdePackages.qtmultimedia
|
||||||
plasmusic-toolbar
|
plasmusic-toolbar
|
||||||
plasma-browser-integration
|
plasma-browser-integration
|
||||||
kdePackages.filelight
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,4 +1,8 @@
|
|||||||
{config, ...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
# Enable sound with pipewire.
|
# Enable sound with pipewire.
|
||||||
hardware.pulseaudio.enable = false;
|
hardware.pulseaudio.enable = false;
|
||||||
security.rtkit.enable = true;
|
security.rtkit.enable = true;
|
||||||
@ -15,14 +19,8 @@
|
|||||||
#media-session.enable = true;
|
#media-session.enable = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
# To enable the OBS Virtual Camera
|
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
boot.extraModulePackages = with config.boot.kernelPackages; [v4l2loopback];
|
||||||
boot.kernelModules = [
|
boot.kernelModules = [
|
||||||
"v4l2loopback"
|
"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 = {
|
users.users.uzair = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Uzair Mohammed";
|
description = "Uzair Mohammed";
|
||||||
extraGroups = ["networkmanager" "wheel" "docker" ];
|
extraGroups = ["networkmanager" "wheel"];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,24 +5,4 @@
|
|||||||
|
|
||||||
virtualisation.libvirtd.enable = true;
|
virtualisation.libvirtd.enable = true;
|
||||||
programs.virt-manager.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