Compare commits
2 Commits
c3239889c2
...
3d67b0862d
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d67b0862d | |||
| 75552fd1c0 |
2059
home/modules/batThemes/CatppuccinMocha.tmTheme
Normal file
2059
home/modules/batThemes/CatppuccinMocha.tmTheme
Normal file
File diff suppressed because it is too large
Load Diff
@ -18,5 +18,7 @@
|
|||||||
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>ff', builtin.find_files, { desc = 'Telescope find files' })
|
vim.keymap.set('n', '<leader> ', 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.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,6 +12,16 @@
|
|||||||
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;
|
||||||
@ -72,6 +82,23 @@
|
|||||||
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,5 +17,6 @@
|
|||||||
kdePackages.qtmultimedia
|
kdePackages.qtmultimedia
|
||||||
plasmusic-toolbar
|
plasmusic-toolbar
|
||||||
plasma-browser-integration
|
plasma-browser-integration
|
||||||
|
kdePackages.filelight
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +1,4 @@
|
|||||||
{
|
{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;
|
||||||
@ -19,8 +15,14 @@
|
|||||||
#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"];
|
extraGroups = ["networkmanager" "wheel" "docker" ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -5,4 +5,24 @@
|
|||||||
|
|
||||||
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";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,8 +0,0 @@
|
|||||||
{ pkgs, ... }:
|
|
||||||
{
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
vmware-workstation
|
|
||||||
];
|
|
||||||
|
|
||||||
virtualisation.vmware.host.enable = true;
|
|
||||||
}
|
|
||||||
3
system/modules/yubikey.nix
Normal file
3
system/modules/yubikey.nix
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
services.pcscd.enable = true;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user