Files
hydenix/flake.nix
진우 조 e6551fcfa9 Update 3 files
- /flake.nix
- /configuration.nix
- /modules/hm/default.nix
2025-11-18 10:25:54 +00:00

72 lines
1.9 KiB
Nix

{
description = "template for hydenix";
inputs = rec {
# Your nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
# Hydenix
hydenix = {
# Available inputs:
# Main: github:richen604/hydenix
# Commit: github:richen604/hydenix/<commit-hash>
# Version: github:richen604/hydenix/v1.0.0 - note the version may not be compatible with this template
url = "github:richen604/hydenix";
# uncomment the below if you know what you're doing, hydenix updates nixos-unstable every week or so
# inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "github:hyprwm/Hyprland";
hyprland-plugins = {
url = "github:hyprwm/hyprland-plugins";
inputs.hyprland.follows = "hyprland";
};
# Hardware Configuration's, used in ./configuration.nix. Feel free to remove if unused
nixos-hardware.url = "github:nixos/nixos-hardware/master";
};
outputs =
{ self, nixpkgs,... }@inputs:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
hydenixConfig = inputs.nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs;
};
modules = [
./configuration.nix
];
};
in
{
nixosConfigurations.hydenix = hydenixConfig;
nixosConfigurations.default = hydenixConfig;
/*devShells.${system}.default = pkgs.mkShell {
buildInputs = with pkgs; [
python313
python313Packages.pip
python313Packages.venvShellHook
stdenv.cc.cc.lib
pkg-config
gcc
glib
];
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
pkgs.stdenv.cc.cc.lib
];
shellHook = ''
echo " python $(python --version) ready"
echo " Libraries in LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
'';
};*/
};
}