Compare commits
6 Commits
5f71082f15
...
20cd344daa
Author | SHA1 | Date | |
---|---|---|---|
20cd344daa | |||
152df2c493 | |||
9dba75fd8c | |||
d220b58c36 | |||
a72f995611 | |||
5711841421 |
@@ -5,7 +5,7 @@ A modular, flake-based NixOS configuration supporting multiple hosts with shared
|
||||
## 🏗️ Structure Overview
|
||||
|
||||
```
|
||||
nixos/
|
||||
nix-config/
|
||||
├── flake.nix # Main flake definition with inputs and outputs
|
||||
├── hosts/ # Host-specific configurations
|
||||
│ ├── wildfire/ # Desktop workstation (AMD GPU)
|
||||
|
@@ -6,7 +6,11 @@
|
||||
../../modules/programs.nix
|
||||
];
|
||||
# Extend home-manager configuration with host-specific monitor settings
|
||||
home-manager.users.schulze.imports = [./hyprland-monitors.nix];
|
||||
home-manager.users.schulze.imports = [
|
||||
./hyprland-monitors.nix
|
||||
./hyprlock.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
|
||||
networking.hostName = "hurricane";
|
||||
|
||||
|
3
hosts/hurricane/hyprlock.nix
Normal file
3
hosts/hurricane/hyprlock.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/home/images/control-panel.png";
|
||||
}
|
15
hosts/hurricane/hyprpaper.nix
Normal file
15
hosts/hurricane/hyprpaper.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
@@ -6,7 +6,11 @@
|
||||
../../modules/programs.nix
|
||||
];
|
||||
# Extend home-manager configuration with host-specific monitor settings
|
||||
home-manager.users.schulze.imports = [./hyprland-monitors.nix];
|
||||
home-manager.users.schulze.imports = [
|
||||
./hyprland-monitors.nix
|
||||
./hyprlock.nix
|
||||
./hyprpaper.nix
|
||||
];
|
||||
|
||||
# Encrypted drive
|
||||
boot.initrd.luks.devices."luks-1728f038-43a6-4e0d-b7dd-19a4c1083605".device = "/dev/disk/by-uuid/1728f038-43a6-4e0d-b7dd-19a4c1083605";
|
||||
|
3
hosts/wildfire/hyprlock.nix
Normal file
3
hosts/wildfire/hyprlock.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
programs.hyprlock.settings.background.path = "$HOME/git/nix-config/modules/home/images/sky.png";
|
||||
}
|
15
hosts/wildfire/hyprpaper.nix
Normal file
15
hosts/wildfire/hyprpaper.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{
|
||||
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"
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
@@ -26,6 +26,7 @@
|
||||
./home/home-manager.nix # Base user environment
|
||||
./home/hyprlock.nix # Hyprlock screen lock user config
|
||||
./home/rofi.nix # Rofi user config
|
||||
./home/ghostty.nix # Ghostty user config
|
||||
];
|
||||
};
|
||||
|
||||
|
11
modules/home/ghostty.nix
Normal file
11
modules/home/ghostty.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
programs.ghostty = {
|
||||
enable = true;
|
||||
enableFishIntegration = true;
|
||||
settings = {
|
||||
"font-family" = "Intel One Mono";
|
||||
"theme" = "GruvboxDark";
|
||||
"background-opacity" = 0.4;
|
||||
};
|
||||
};
|
||||
}
|
@@ -3,6 +3,9 @@
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
settings = {
|
||||
exec-once = [
|
||||
"hyprpaper"
|
||||
];
|
||||
input = {
|
||||
kb_layout = "se";
|
||||
kb_variant = "";
|
||||
|
@@ -5,7 +5,8 @@ in {
|
||||
enable = true;
|
||||
settings = {
|
||||
background = {
|
||||
path = "$HOME/git/nixos/modules/home/images/sky.png";
|
||||
# Background image is set in host specific configuration
|
||||
#path = "$HOME/git/nixos/modules/home/images/sky.png";
|
||||
blur_passes = 2;
|
||||
contrast = 1;
|
||||
brightness = 0.5;
|
||||
|
Reference in New Issue
Block a user