From 83aaabfa5b9fbc483450a09a772468eb4ba9b9c5 Mon Sep 17 00:00:00 2001 From: bangae1 Date: Sat, 1 Nov 2025 20:04:27 +0900 Subject: [PATCH] first --- .idea/.gitignore | 8 ++++++++ .idea/hydenix.iml | 9 +++++++++ .idea/misc.xml | 6 ++++++ .idea/modules.xml | 8 ++++++++ .idea/vcs.xml | 7 +++++++ configuration.nix | 19 ++++++++++++++++--- flake.nix | 23 ++++++++++++++++++++++- 7 files changed, 76 insertions(+), 4 deletions(-) create mode 100644 .idea/.gitignore create mode 100644 .idea/hydenix.iml create mode 100644 .idea/misc.xml create mode 100644 .idea/modules.xml create mode 100644 .idea/vcs.xml diff --git a/.idea/.gitignore b/.idea/.gitignore new file mode 100644 index 0000000..c3f502a --- /dev/null +++ b/.idea/.gitignore @@ -0,0 +1,8 @@ +# 디폴트 무시된 파일 +/shelf/ +/workspace.xml +# 에디터 기반 HTTP 클라이언트 요청 +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/hydenix.iml b/.idea/hydenix.iml new file mode 100644 index 0000000..d6ebd48 --- /dev/null +++ b/.idea/hydenix.iml @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/.idea/misc.xml b/.idea/misc.xml new file mode 100644 index 0000000..6f29fee --- /dev/null +++ b/.idea/misc.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/.idea/modules.xml b/.idea/modules.xml new file mode 100644 index 0000000..69f7f68 --- /dev/null +++ b/.idea/modules.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..8306744 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,7 @@ + + + + + + + \ No newline at end of file diff --git a/configuration.nix b/configuration.nix index d514c7b..277b7d4 100644 --- a/configuration.nix +++ b/configuration.nix @@ -8,7 +8,7 @@ let # Package configuration - sets up package system with proper overlays # Most users won't need to modify this section - system = "x86_64-linux"; + system = "x86_64-linux"; pkgs = import inputs.nixpkgs { inherit system; config.allowUnfree = true; @@ -108,16 +108,29 @@ in nwg-displays tk scrot - yay + python313 + python313Packages.pip + python313Packages.venvShellHook + python313Packages.numpy + stdenv.cc.cc.lib + pkg-config + gcc + glib + libgcc + gnumake + cmake + extra-cmake-modules ]; - environment.sessionVariables = rec { + environment.sessionVariables = { GTK_IM_MODULE = "kime"; QT_IM_MODULE = "kime"; XMODIFIERS = "@im=kime"; }; + + # 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.nix b/flake.nix index d6710b2..5a90147 100644 --- a/flake.nix +++ b/flake.nix @@ -22,9 +22,10 @@ }; outputs = - { ... }@inputs: + { self, nixpkgs,... }@inputs: let system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; hydenixConfig = inputs.nixpkgs.lib.nixosSystem { inherit system; specialArgs = { @@ -39,5 +40,25 @@ { 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" + ''; + };*/ }; }