/ flake.nix
flake.nix
1 { 2 description = "Home Manager configuration of uname"; 3 4 inputs = { 5 # Specify the source of Home Manager and Nixpkgs. 6 nixpkgs.url = "github:nixos/nixpkgs/nixos-25.11"; 7 home-manager = { 8 url = "github:nix-community/home-manager/release-25.11"; 9 inputs.nixpkgs.follows = "nixpkgs"; 10 }; 11 }; 12 13 outputs = 14 { nixpkgs, home-manager, ... }: 15 let 16 system = "x86_64-linux"; 17 pkgs = nixpkgs.legacyPackages.${system}; 18 in 19 { 20 homeConfigurations."uname" = home-manager.lib.homeManagerConfiguration { 21 inherit pkgs; 22 23 # Specify your home configuration modules here, for example, 24 # the path to your home.nix. 25 modules = [ ./home.nix ]; 26 27 # Optionally use extraSpecialArgs 28 # to pass through arguments to home.nix 29 }; 30 }; 31 }