From aa3d495d51635a965da4097f8ea18fbce1b29397 Mon Sep 17 00:00:00 2001 From: coasteen Date: Fri, 10 Jul 2026 15:28:57 +0330 Subject: init --- flake.nix | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 flake.nix (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..6c070fe --- /dev/null +++ b/flake.nix @@ -0,0 +1,26 @@ +{ + description = "4th flake"; + + inputs = { + nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; + home-manager.url = "github:nix-community/home-manager/release-26.05"; + home-manager.inputs.nixpkgs.follows = "nixpkgs"; + }; + + outputs = { self, nixpkgs, home-manager }: { + nixosConfigurations.unix = nixpkgs.lib.nixosSystem { + system = "x86_64-linux"; + modules = + [ + ./configuration + home-manager.nixosModules.home-manager + { + home-manager.useGlobalPkgs = true; + home-manager.useUserPackages = true; + home-manager.users.coast = import ./home-configuration/default.nix; + home-manager.backupFileExtension = "home-backup"; + } + ]; + }; + }; +} -- cgit v1.2.3