Merge branch 'main' of git.vanten-s.com:vanten-s/dotfiles

This commit is contained in:
vanten-s 2024-05-10 15:06:45 +02:00
commit 31766eaa2d
Signed by: vanten-s
GPG key ID: DE3060396884D3F2
3 changed files with 27 additions and 10 deletions

View file

@ -14,9 +14,7 @@ in {
]; ];
# Bootloader. # Bootloader.
boot.loader.grub.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.grub.device = "nodev";
boot.loader.grub.useOSProber = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.supportedFilesystems = [ "ntfs" ]; boot.supportedFilesystems = [ "ntfs" ];
boot.kernelModules = [ "v4l2loopback" ]; boot.kernelModules = [ "v4l2loopback" ];
@ -83,6 +81,8 @@ in {
packages = with pkgs; []; packages = with pkgs; [];
}; };
services.udisks2.enable = true;
# hardware.pulseaudio.enable = true; # hardware.pulseaudio.enable = true;
# hardware.pulseaudio.support32Bit = true; # hardware.pulseaudio.support32Bit = true;
# nixpkgs.config.pulseaudio = true; # nixpkgs.config.pulseaudio = true;
@ -92,10 +92,23 @@ in {
# Allow unfree packages # Allow unfree packages
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
virtualisation.docker.enable = true; # virtualisation.docker.enable = true;
virtualisation.docker.rootless = { # virtualisation.docker.rootless = {
enable = true; # enable = true;
setSocketVariable = true; # setSocketVariable = true;
# };
virtualisation.containers.enable = true;
virtualisation = {
podman = {
enable = true;
# Create a `docker` alias for podman, to use it as a drop-in replacement
dockerCompat = true;
# Required for containers under podman-compose to be able to talk to each other.
defaultNetwork.settings.dns_enabled = true;
};
}; };
# List packages installed in system profile. To search, run: # List packages installed in system profile. To search, run:
@ -103,7 +116,6 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default. vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
neovim neovim
docker
curl curl
gsettings-desktop-schemas gsettings-desktop-schemas
mlocate mlocate
@ -117,6 +129,7 @@ in {
obsidian obsidian
os-prober os-prober
libsForQt5.kdeconnect-kde libsForQt5.kdeconnect-kde
polkit_gnome
wireguard-tools wireguard-tools
git git
gnupg gnupg
@ -150,6 +163,9 @@ in {
wl-clipboard wl-clipboard
home-manager home-manager
file file
dive # look into docker image layers
podman-tui # status of containers in the terminal
podman-compose # start group of containers for dev
(epsonscan2.override { withNonFreePlugins = true; }) (epsonscan2.override { withNonFreePlugins = true; })
]; ];

View file

@ -114,7 +114,7 @@ bind = $mainMod, Q, killactive,
bind = $mainMod, M, exit, bind = $mainMod, M, exit,
bind = $mainMod, E, exec, dolphin bind = $mainMod, E, exec, dolphin
bind = $mainMod, V, togglefloating, bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, fuzzel bind = $mainMod, R, exec, fuzzel --terminal kitty
bind = $mainMod, D, exec, dmenu_path | fuzzel -d | sh bind = $mainMod, D, exec, dmenu_path | fuzzel -d | sh
bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh
bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh

View file

@ -15,6 +15,7 @@ compinit
export TERM="xterm" export TERM="xterm"
# Shorthands # Shorthands
alias ls='ls --color=yes'
alias l='ls -l' alias l='ls -l'
alias la='ls -a' alias la='ls -a'
alias ll='ls -la' alias ll='ls -la'