commit 51a1d0d178c55cafe62f8a828fca926325171ed5 Author: luochen570 <1160510664@qq.com> Date: Thu Feb 26 11:45:52 2026 +0800 new file: 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 + ]; + }; + }; +}