restructure home manager configs

This commit is contained in:
2025-06-24 18:47:45 +02:00
parent 6ca250dbaf
commit fe586d4a56
32 changed files with 58 additions and 58 deletions

View File

@ -13,7 +13,7 @@ nix-config/
├── modules/ # Shared configuration modules
│ ├── common.nix # Base system configuration
│ ├── programs.nix # System-wide packages and programs
│ ├── home/ # Home Manager configurations
│ ├── hm/ # Home Manager configurations
│ └── desktops/ # Desktop environment configurations
└── rebuild-nix-system.sh # Helper script for system rebuilds
```
@ -73,7 +73,7 @@ Hyprland desktop environment setup:
- **Theming**: Gruvbox theme with consistent fonts
- **Tools**: Screenshot tools, clipboard manager, file manager
### `modules/home/`
### `modules/hm/`
Home Manager configurations:
@ -135,7 +135,7 @@ nix flake update
### User Packages
- Managed through Home Manager
- Per-user configurations in `modules/home/`
- Per-user configurations in `modules/hm/`
## 🔄 Development Workflow

View File

@ -7,9 +7,9 @@
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [
./hyprland-monitors.nix
./hyprlock.nix
./hyprpaper.nix
./hm/hyprland-monitors.nix
./hm/hyprlock.nix
./hm/hyprpaper.nix
];
networking.hostName = "hurricane";

View File

@ -1,3 +1,3 @@
{
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/home/images/control-panel.png";
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/hm/images/control-panel.png";
}

View File

@ -0,0 +1,17 @@
{
services.hyprpaper = {
enable = true;
settings = {
preload = [
"$HOME/git/nix-config/modules/hm/images/nix.png"
"$HOME/git/nix-config/modules/hm/images/forest.png"
];
wallpaper = [
", $HOME/git/nix-config/modules/hm/images/nix.png"
"DP-3, $HOME/git/nix-config/modules/hm/images/forest.png"
"HDMI-A-1, $HOME/git/nix-config/modules/hm/images/forest.png"
"eDP-1, $HOME/git/nix-config/modules/hm/images/forest.png"
];
};
};
}

View File

@ -1,17 +0,0 @@
{
services.hyprpaper = {
enable = true;
settings = {
preload = [
"$HOME/git/nix-config/modules/home/images/nix.png"
"$HOME/git/nix-config/modules/home/images/forest.png"
];
wallpaper = [
", $HOME/git/nix-config/modules/home/images/nix.png"
"DP-3, $HOME/git/nix-config/modules/home/images/forest.png"
"HDMI-A-1, $HOME/git/nix-config/modules/home/images/forest.png"
"eDP-1, $HOME/git/nix-config/modules/home/images/forest.png"
];
};
};
}

View File

@ -7,9 +7,9 @@
];
# Extend home-manager configuration with host-specific monitor settings
home-manager.users.schulze.imports = [
./hyprland-monitors.nix
./hyprlock.nix
./hyprpaper.nix
./hm/hyprland-monitors.nix
./hm/hyprlock.nix
./hm/hyprpaper.nix
];
# Encrypted drive

View File

@ -1,3 +1,3 @@
{
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/home/images/sky.png";
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/hm/images/sky.png";
}

View File

@ -0,0 +1,15 @@
{
services.hyprpaper = {
enable = true;
settings = {
preload = [
"$HOME/git/nix-config/modules/hm/images/nix.png"
"$HOME/git/nix-config/modules/hm/images/sunset-rocks.png"
];
wallpaper = [
", $HOME/git/nix-config/modules/hm/images/nix.png"
"DP-3, $HOME/git/nix-config/modules/hm/images/sunset-rocks.png"
];
};
};
}

View File

@ -1,15 +0,0 @@
{
services.hyprpaper = {
enable = true;
settings = {
preload = [
"$HOME/git/nix-config/modules/home/images/nix.png"
"$HOME/git/nix-config/modules/home/images/sunset-rocks.png"
];
wallpaper = [
", $HOME/git/nix-config/modules/home/images/nix.png"
"DP-3, $HOME/git/nix-config/modules/home/images/sunset-rocks.png"
];
};
};
}

View File

@ -27,20 +27,20 @@
};
# User-specific Home Manager configurations
users.schulze.imports = [
./home/home-manager.nix # Base user environment
./home/hyprland.nix # Hyprland window manager user config
./home/hyprlock.nix # Hyprlock screen lock user config
./home/hypridle.nix # Hypridle idle daemon user config
./home/cursor.nix # Mouse cursor config
./home/rofi.nix # Rofi theme/config
./home/ghostty.nix # Ghostty config
./home/gtk.nix # GTK theme
./home/nextcloud.nix # Nextcloud autostart
./home/code-cursor.nix # Cursor config
./home/vim.nix # Vim config
./home/hyprsunset.nix # Hyprsunset night mode
./home/btop.nix # Btop config
./home/ssh.nix # SSH config
./hm/home-manager.nix # Base user environment
./hm/hyprland.nix # Hyprland window manager user config
./hm/hyprlock.nix # Hyprlock screen lock user config
./hm/hypridle.nix # Hypridle idle daemon user config
./hm/cursor.nix # Mouse cursor config
./hm/rofi.nix # Rofi theme/config
./hm/ghostty.nix # Ghostty config
./hm/gtk.nix # GTK theme
./hm/nextcloud.nix # Nextcloud autostart
./hm/code-cursor.nix # Cursor config
./hm/vim.nix # Vim config
./hm/hyprsunset.nix # Hyprsunset night mode
./hm/btop.nix # Btop config
./hm/ssh.nix # SSH config
];
};

View File

@ -6,7 +6,7 @@ in {
settings = {
background = {
# Background image is set in host specific configuration
#path = "$HOME/git/nixos/modules/home/images/sky.png";
#path = "$HOME/git/nixos/modules/hm/images/sky.png";
blur_size = 3;
blur_passes = 4;
contrast = 1;