| ... | ... | @@ -8,6 +8,11 @@ |
| 8 | 8 | inputs.nixpkgs.follows = "nixpkgs"; |
| 9 | 9 | }; |
| 10 | 10 | |
| 11 | # hyprland.url = "github:hyprwm/Hyprland"; |
| 12 | # hyprland-plugins = { |
| 13 | # url = "github:hyprwm/hyprland-plugins"; |
| 14 | # inputs.hyprland.follows = "hyprland"; |
| 15 | # }; |
| 11 | 16 | # use the following for unstable: |
| 12 | 17 | # nixpkgs.url = "nixpkgs/nixos-unstable"; |
| 13 | 18 | |
| ... | ... | @@ -15,23 +20,27 @@ |
| 15 | 20 | # nixpkgs.url = "nixpkgs/{BRANCH-NAME}" |
| 16 | 21 | }; |
| 17 | 22 | |
| 18 | | outputs = { self, home-manager, nixpkgs, ... }: |
| 19 | | let |
| 20 | | system = "x86_64-linux"; |
| 21 | | lib = nixpkgs.lib; |
| 22 | | pkgs = nixpkgs.legacyPackages.${system}; |
| 23 | | in { |
| 24 | | nixosConfigurations = { |
| 25 | | nmarks = lib.nixosSystem { |
| 26 | | 	 inherit system; |
| 27 | | modules = [ ./configuration.nix ]; |
| 23 | outputs = { |
| 24 | self, |
| 25 | home-manager, |
| 26 | nixpkgs, |
| 27 | ... |
| 28 | }: let |
| 29 | system = "x86_64-linux"; |
| 30 | lib = nixpkgs.lib; |
| 31 | pkgs = nixpkgs.legacyPackages.${system}; |
| 32 | in { |
| 33 | nixosConfigurations = { |
| 34 | nmarks = lib.nixosSystem { |
| 35 | inherit system; |
| 36 | modules = [./configuration.nix]; |
| 28 | 37 | }; |
| 29 | 38 | }; |
| 30 | | homeConfigurations = { |
| 31 | | nmarks = home-manager.lib.homeManagerConfiguration { |
| 32 | | inherit pkgs; |
| 33 | | modules = [ ./home.nix ]; |
| 34 | | }; |
| 39 | homeConfigurations = { |
| 40 | nmarks = home-manager.lib.homeManagerConfiguration { |
| 41 | inherit pkgs; |
| 42 | modules = [./home.nix]; |
| 35 | 43 | }; |
| 44 | }; |
| 36 | 45 | }; |
| 37 | 46 | } |