Configuration for my NixOS based systems and Home Manager
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

ADD: flake.nix

+34
+34
flake.nix
··· 1 + { 2 + description = "Home Manager configuration of noah"; 3 + 4 + inputs = { 5 + # Specify the source of Home Manager and Nixpkgs. 6 + nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11"; 7 + nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable"; 8 + home-manager = { 9 + url = "github:nix-community/home-manager/release-24.11"; 10 + inputs.nixpkgs.follows = "nixpkgs"; 11 + }; 12 + }; 13 + 14 + outputs = { nixpkgs, nixpkgs-unstable, home-manager, ... }: 15 + let 16 + system = "aarch64-darwin"; 17 + pkgs = nixpkgs.legacyPackages.${system}; 18 + unstable-pkgs = nixpkgs-unstable.legacyPackages.${system}; 19 + in { 20 + homeConfigurations."noah" = 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 = [ ./noah-home.nix ]; 26 + 27 + # Optionally use extraSpecialArgs 28 + # to pass through arguments to home.nix 29 + extraSpecialArgs = { 30 + unstable = unstable-pkgs; 31 + }; 32 + }; 33 + }; 34 + }