From 9a9c543a41cb5ae825180666730806bed73828ca Mon Sep 17 00:00:00 2001 From: bangae1 Date: Sat, 1 Nov 2025 12:44:53 +0900 Subject: [PATCH] theme add --- configuration.nix | 18 ++- flake.lock | 315 +++++++++++++++++++++++++++++++++++++++++ modules/hm/default.nix | 126 ++++++++++++++++- 3 files changed, 452 insertions(+), 7 deletions(-) create mode 100644 flake.lock diff --git a/configuration.nix b/configuration.nix index 7292729..b1bd518 100644 --- a/configuration.nix +++ b/configuration.nix @@ -1,5 +1,6 @@ { inputs, + pkgs, ... }: let @@ -61,7 +62,7 @@ in extraSpecialArgs = { inherit inputs; }; # User Configuration - REQUIRED: Change "hydenix" to your actual username # This must match the username you define in users.users below - users."hydenix" = + users."bangae1" = { ... }: { imports = [ @@ -72,9 +73,9 @@ in }; # User Account Setup - REQUIRED: Change "hydenix" to your desired username (must match above) - users.users.hydenix = { + users.users.bangae1 = { isNormalUser = true; - initialPassword = "hydenix"; # SECURITY: Change this password after first login with `passwd` + initialPassword = "1"; # SECURITY: Change this password after first login with `passwd` extraGroups = [ "wheel" "networkmanager" @@ -88,11 +89,18 @@ in enable = true; # Enable Hydenix modules # Basic System Settings (REQUIRED): hostname = "hydenix"; # REQUIRED: Set your computer's network name (change to something unique) - timezone = "America/Vancouver"; # REQUIRED: Set timezone (examples: "America/New_York", "Europe/London", "Asia/Tokyo") - locale = "en_CA.UTF-8"; # REQUIRED: Set locale/language (examples: "en_US.UTF-8", "en_GB.UTF-8", "de_DE.UTF-8") + timezone = "Asia/Seoul"; # REQUIRED: Set timezone (examples: "America/New_York", "Europe/London", "Asia/Tokyo") + locale = "ko_KR.UTF-8"; # REQUIRED: Set locale/language (examples: "en_US.UTF-8", "en_GB.UTF-8", "de_DE.UTF-8") # For more configuration options, see: ./docs/options.md }; + environment.systemPackages = with pkgs; [ + git + kime + google-chrome + nwg-displays + ]; + # System Version - Don't change unless you know what you're doing (helps with system upgrades and compatibility) system.stateVersion = "25.05"; } diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..c590e61 --- /dev/null +++ b/flake.lock @@ -0,0 +1,315 @@ +{ + "nodes": { + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1731533236, + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "hydenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1761395627, + "narHash": "sha256-9wQpgBRW2PzYw1wx+MgCt1IbPAYz93csApLMgSZOJCk=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "7296022150cd775917e4c831c393026eae7c2427", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "home-manager", + "type": "github" + } + }, + "hyde": { + "flake": false, + "locked": { + "lastModified": 1758290412, + "narHash": "sha256-fXW+yxDQ0iLFX2YuKDpv82lIPbGDgii5kpsWCDp3m4s=", + "owner": "HyDE-Project", + "repo": "HyDE", + "rev": "f246f2a89b8e862b96042cb2b291b191289c2fde", + "type": "github" + }, + "original": { + "owner": "HyDE-Project", + "repo": "HyDE", + "rev": "f246f2a89b8e862b96042cb2b291b191289c2fde", + "type": "github" + } + }, + "hyde-config": { + "inputs": { + "nixpkgs": [ + "hydenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1754889600, + "narHash": "sha256-kn35QcO7OxZxcYyaZNxQ4tBsLdeSi1u2kbWdPg/pky0=", + "owner": "richen604", + "repo": "hyde-config", + "rev": "59dc0659e0cfb72552616553f5b2635cf40c2184", + "type": "github" + }, + "original": { + "owner": "richen604", + "repo": "hyde-config", + "type": "github" + } + }, + "hyde-ipc": { + "inputs": { + "nixpkgs": [ + "hydenix", + "nixpkgs" + ], + "rust-overlay": "rust-overlay" + }, + "locked": { + "lastModified": 1754887268, + "narHash": "sha256-TsiA83Gd16VfIMatHa6o56Rvf7Vi2Lr/9ch9T6+n/qg=", + "owner": "richen604", + "repo": "hyde-ipc", + "rev": "016b6e7bd5959a18c2cefeb4a952098468f6bb8f", + "type": "github" + }, + "original": { + "owner": "richen604", + "repo": "hyde-ipc", + "type": "github" + } + }, + "hydectl": { + "inputs": { + "nixpkgs": [ + "hydenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1755057332, + "narHash": "sha256-TVLjDL4+SdoXJrNu5TLiUSDD73CdVWfAn3aE2c4aShg=", + "owner": "richen604", + "repo": "hydectl", + "rev": "a19610347de2230175e5d8807584db65d0588134", + "type": "github" + }, + "original": { + "owner": "richen604", + "repo": "hydectl", + "type": "github" + } + }, + "hydenix": { + "inputs": { + "home-manager": "home-manager", + "hyde": "hyde", + "hyde-config": "hyde-config", + "hyde-ipc": "hyde-ipc", + "hydectl": "hydectl", + "hyq": "hyq", + "nix-index-database": "nix-index-database", + "nixos-hardware": "nixos-hardware", + "nixpkgs": "nixpkgs_2" + }, + "locked": { + "lastModified": 1761533668, + "narHash": "sha256-mKR0fzIi4/YMZoS+ECenYnWarvXG5Jh3eE/qNYI2Za0=", + "owner": "richen604", + "repo": "hydenix", + "rev": "99e3d4980209662ca79d6ff848fa83c40e5fce99", + "type": "github" + }, + "original": { + "owner": "richen604", + "repo": "hydenix", + "type": "github" + } + }, + "hyq": { + "inputs": { + "flake-utils": "flake-utils", + "nixpkgs": [ + "hydenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1758587209, + "narHash": "sha256-fcsxLi/1MMNZvyaQ3LZEtIgSe2UMqg/4Ghj0rYszFdM=", + "owner": "richen604", + "repo": "hyprquery", + "rev": "a2934ca4a551b130c3e3076990774d17678a1b4e", + "type": "github" + }, + "original": { + "owner": "richen604", + "repo": "hyprquery", + "type": "github" + } + }, + "nix-index-database": { + "inputs": { + "nixpkgs": [ + "hydenix", + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1760846226, + "narHash": "sha256-xmU8kAsRprJiTGBTaGrwmjBP3AMA9ltlrxHKFuy5JWc=", + "owner": "nix-community", + "repo": "nix-index-database", + "rev": "5024e1901239a76b7bf94a4cd27f3507e639d49e", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "nix-index-database", + "type": "github" + } + }, + "nixos-hardware": { + "locked": { + "lastModified": 1760958188, + "narHash": "sha256-2m1S4jl+GEDtlt2QqeHil8Ny456dcGSKJAM7q3j/BFU=", + "owner": "nixos", + "repo": "nixos-hardware", + "rev": "d6645c340ef7d821602fd2cd199e8d1eed10afbc", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, + "nixos-hardware_2": { + "locked": { + "lastModified": 1761933221, + "narHash": "sha256-rNHeoG3ZrA94jczyLSjxCtu67YYPYIlXXr0uhG3wNxM=", + "owner": "nixos", + "repo": "nixos-hardware", + "rev": "7467f155fcba189eb088a7601f44fbef7688669b", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "master", + "repo": "nixos-hardware", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1744536153, + "narHash": "sha256-awS2zRgF4uTwrOKwwiJcByDzDOdo3Q1rPZbiHQg/N38=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "18dd725c29603f582cf1900e0d25f9f1063dbf11", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1761114652, + "narHash": "sha256-f/QCJM/YhrV/lavyCVz8iU3rlZun6d+dAiC3H+CDle4=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", + "type": "github" + }, + "original": { + "owner": "nixos", + "repo": "nixpkgs", + "rev": "01f116e4df6a15f4ccdffb1bcd41096869fb385c", + "type": "github" + } + }, + "nixpkgs_3": { + "locked": { + "lastModified": 1761672384, + "narHash": "sha256-o9KF3DJL7g7iYMZq9SWgfS1BFlNbsm6xplRjVlOCkXI=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "08dacfca559e1d7da38f3cf05f1f45ee9bfd213c", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "hydenix": "hydenix", + "nixos-hardware": "nixos-hardware_2", + "nixpkgs": "nixpkgs_3" + } + }, + "rust-overlay": { + "inputs": { + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1754880555, + "narHash": "sha256-tG6l0wiX8V8IvG4HFYY8IYN5vpNAxQ+UWunjjpE6SqU=", + "owner": "oxalica", + "repo": "rust-overlay", + "rev": "17c591a44e4eb77f05f27cd37e1cfc3f219c7fc4", + "type": "github" + }, + "original": { + "owner": "oxalica", + "repo": "rust-overlay", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/modules/hm/default.nix b/modules/hm/default.nix index ec4ce80..a1ef43e 100644 --- a/modules/hm/default.nix +++ b/modules/hm/default.nix @@ -1,4 +1,4 @@ -{ ... }: +{ config, lib, ... }: { imports = [ @@ -12,6 +12,128 @@ ]; # hydenix home-manager options go here - hydenix.hm.enable = true; + hydenix = { + + # home-manager hydenix options + hm = { + enable = true; # enable home-manager module + comma.enable = true; # useful nix tool to run software without installing it first + git = { + enable = true; # enable git module + name = "bangae1"; # git user name eg "John Doe" + email = "bangae2@gmail.com"; # git user email eg "john.doe@example.com" + }; + hyde.enable = true; # enable hyde module + hyprland = { + enable = true; # enable hyprland module + extraConfig = ""; # extra config appended to userprefs.conf + overrideMain = null; # complete override of hyprland.conf + suppressWarnings = false; # suppress warnings + # Animation configurations + animations = { + enable = true; # enable animation configurations + preset = "standard"; # string from override or default: "standard" # or "LimeFrenzy", "classic", "diablo-1", "diablo-2", "disable", "dynamic", "end4", "fast", "high", "ja", "me-1", "me-2", "minimal-1", "minimal-2", "moving", "optimized", "standard", "vertical" + extraConfig = ""; # additional animation configuration + overrides = { }; # override specific animation files by name + }; + # Shader configurations + shaders = { + enable = true; # enable shader configurations + active = "disable"; # string from override or default: "disable" # or "blue-light-filter", "color-vision", "custom", "grayscale", "invert-colors", "oled", "oled-saver", "paper", "vibrance", "wallbash" + overrides = { }; # override or add custom shaders + }; + # Workflow configurations + workflows = { + enable = true; # enable workflow configurations + active = "default"; # string from override or default: "default" # or "editing", "gaming", "powersaver", "snappy" + overrides = { }; # override or add custom workflows + }; + # Hypridle configurations + hypridle = { + enable = false; # enable hypridle configurations + extraConfig = ""; # additional hypridle configuration + overrideConfig = null; # complete hypridle configuration override (null or lib.types.lines) + }; + # Keybindings configurations + keybindings = { + enable = true; # enable keybindings configurations + extraConfig = ""; # additional keybindings configuration + overrideConfig = null; # complete keybindings configuration override (null or lib.types.lines) + }; + # Window rules configurations + windowrules = { + enable = true; # enable window rules configurations + extraConfig = ""; # additional window rules configuration + overrideConfig = null; # complete window rules configuration override (null or lib.types.lines) + }; + # NVIDIA configurations + nvidia = { + enable = false; # enable NVIDIA configurations (defaults to config.hardware.nvidia.enabled) + extraConfig = ""; # additional NVIDIA configuration + overrideConfig = null; # complete NVIDIA configuration override (null or lib.types.lines) + }; + # Pyprland configurations + pyprland = { + enable = true; # enable pyprland configurations + extraConfig = ""; # additional pyprland configuration + overrideConfig = null; # complete pyprland configuration override (null or lib.types.lines) + }; + + # Monitor configurations + monitors = { + enable = true; # enable monitor configurations + overrideConfig = "mointor = Virtual-1, 1920x1080@60, auto, 1"; # complete monitor configuration override (null or lib.types.lines) + }; + }; + lockscreen = { + enable = true; # enable lockscreen module + hyprlock = true; # enable hyprlock lockscreen + swaylock = false; # enable swaylock lockscreen + }; + notifications.enable = true; # enable notifications module + qt.enable = true; # enable qt module + rofi.enable = true; # enable rofi module + screenshots = { + enable = true; # enable screenshots module + grim.enable = true; # enable grim screenshot tool + slurp.enable = true; # enable slurp region selection tool + satty.enable = false; # enable satty screenshot annotation tool + swappy.enable = true; # enable swappy screenshot editor + }; + theme = { + enable = true; # enable theme module + active = "Cat Latte"; # active theme name + themes = [ + "Cat Latte" + "Catppuccin Mocha" + "Catppuccin Latte" + "Code Garden" + "Cosmic Blue" + "Crimson Blade" + "Crimson Blue" + "Dracula" + "Edge Runner" + "Electra" + "Mac OS" + "Material Sakura" + "Moonlight" + "Nordic Blur" + "Obsidian Purple" + "Pixel Dream" + "Rain Dark" + "Red Stone" + "Tokyo Night" + "Tundra" + "Rose Pine" + ]; # default enabled themes, full list in https://github.com/richen604/hydenix/tree/main/hydenix/sources/themes + }; + waybar = { + enable = true; # enable waybar module + userStyle = ""; # custom waybar user-style.css + }; + wlogout.enable = true; # enable wlogout module + xdg.enable = true; # enable xdg module + }; + }; # Visit https://github.com/richen604/hydenix/blob/main/docs/options.md for more options }