From 51a1d0d178c55cafe62f8a828fca926325171ed5 Mon Sep 17 00:00:00 2001 From: luochen570 <1160510664@qq.com> Date: Thu, 26 Feb 2026 11:45:52 +0800 Subject: [PATCH] new file: flake.nix --- flake.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 flake.nix diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..865d9ae --- /dev/null +++ b/flake.nix @@ -0,0 +1,18 @@ +{ + description = "A basic NixOS configuration"; + + inputs = { + nixpkgs.url = fetchTarball "https://github.com/NixOS/nixpkgs/archive/nixos-23.05.tar.gz"; + }; + + outputs = { self, nixpkgs }: { + nixosConfigurations.default = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = [ + ./modules/ssh + ./modules/zsh-oh-my-zsh + ./modules/fcitx5 + ]; + }; + }; +}