mirror of
https://github.com/BalrajSinghGidda/nixos-dotfiles.git
synced 2026-04-07 09:27:23 +00:00
adads
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
@@ -170,6 +170,10 @@ virtualisation.docker = {
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
# VPN
|
||||
services.tailscale.enable = true;
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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
|
||||
];
|
||||
}
|
||||
|
||||
@@ -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"];
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user