This commit is contained in:
BalrajSinghGidda
2026-04-01 21:46:05 +05:30
parent 5c0eabce7e
commit adea3ccc61
10 changed files with 28 additions and 6 deletions

View File

@@ -86,7 +86,7 @@ nixos-dotfiles/
- 🔧 **nvf-Powered Neovim**: Declaratively configured via NixOS (no Mason, no manual Lua!)
- 🎨 **Consistent Theming**: Tokyo Night colors across all applications
-**Performance Optimized**: Lightweight and snappy on a Dell Latitude 7490
- 🐳 **Docker Ready**: Rootless Docker setup included
- 🐳 **Docker + Podman Ready**: Rootless Docker and Podman setup included
- 👽 **nix-alien Support**: Run unpatched binaries with automatic library detection
- 📦 **nix-ld Integration**: 40+ system libraries for non-NixOS executables

View File

@@ -8,7 +8,6 @@ Manager.
- **hypr/** - Hyprland compositor configuration
- **hyprlock/** - Lock screen configuration
- **hypridle/** - Idle and DPMS configuration
- **hyprpaper/** - Wallpaper daemon configuration
- **waybar/** - Status bar configuration
- **kitty/** - Kitty terminal emulator configuration

View File

@@ -7,7 +7,7 @@ $fileManager = pcmanfm
exec-once = waybar
exec-once = dunst
exec-once = hyprpaper
exec-once = hyprpaper -c ~/.config/hypr/hyprpaper.conf
exec-once = hyprpolkitagent
exec-once = hyprsunset -t 3800

View File

@@ -1,3 +1,3 @@
preload = /home/balraj/nixos-dotfiles/modules/nixos/wallpapers/Pictures/nix.png
wallpaper = /home/balraj/nixos-dotfiles/modules/nixos/wallpapers/Pictures/nix.png
wallpaper = ,/home/balraj/nixos-dotfiles/modules/nixos/wallpapers/Pictures/nix.png
splash = false

View File

@@ -170,6 +170,10 @@ virtualisation.docker = {
};
};
virtualisation.podman = {
enable = true;
};
# VPN
services.tailscale.enable = true;

View File

@@ -148,6 +148,9 @@ bluetoothctl show
# Check Docker (rootless)
docker ps
# Check Podman
podman ps
```
## 📝 Making Changes
@@ -228,6 +231,13 @@ sudo nixos-rebuild switch --flake ~/nixos-dotfiles/#nixos-btw
newgrp docker
```
### Issue: Podman command not found
**Solution**: Rebuild and ensure Home Manager packages are applied:
```bash
sudo nixos-rebuild switch --flake ~/nixos-dotfiles/#nixos-btw
```
## 🔄 Rolling Back
If something goes wrong:

View File

@@ -20,7 +20,6 @@
xdg.configFile."hypr".source = ../../config/hypr;
xdg.configFile."hyprlock".source = ../../config/hyprlock;
xdg.configFile."hypridle".source = ../../config/hypridle;
xdg.configFile."hyprpaper".source = ../../config/hyprpaper;
xdg.configFile."waybar".source = ../../config/waybar;
xdg.configFile."hyprlauncher".source = ../../config/hyprlauncher;
xdg.configFile."kitty".source = ../../config/kitty;

View File

@@ -14,5 +14,8 @@
# Nix development tools
nil # Nix language server
nixpkgs-fmt # Nix code formatter
# Container tools
podman-compose # Docker Compose-compatible frontend for Podman
];
}

View File

@@ -87,12 +87,14 @@
# User account configuration - CHANGE 'balraj' to your username!
users.users.balraj = {
isNormalUser = true;
extraGroups = ["wheel" "networking" "docker"]; # wheel = sudo access
extraGroups = ["wheel" "networking" "audio" "video"]; # wheel = sudo access
packages = with pkgs; [
tree # Directory tree visualization
];
};
users.groups.docker.members = ["balraj"];
# Enable Nix flakes and new nix command
nix.settings.experimental-features = ["nix-command" "flakes"];

View File

@@ -65,6 +65,11 @@
setSocketVariable = true; # Set DOCKER_HOST environment variable
};
# Podman container runtime (available alongside Docker)
virtualisation.podman = {
enable = true;
};
# Bluetooth hardware support
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; # Turn on Bluetooth on boot