1 files changed, 24 insertions(+), 15 deletions(-)
flake.nix+24-15| ... | @@ -8,6 +8,11 @@ | ... | @@ -8,6 +8,11 @@ |
| 8 | inputs.nixpkgs.follows = "nixpkgs"; | 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 | # use the following for unstable: | 16 | # use the following for unstable: |
| 12 | # nixpkgs.url = "nixpkgs/nixos-unstable"; | 17 | # nixpkgs.url = "nixpkgs/nixos-unstable"; |
| 13 | 18 | ||
| ... | @@ -15,23 +20,27 @@ | ... | @@ -15,23 +20,27 @@ |
| 15 | # nixpkgs.url = "nixpkgs/{BRANCH-NAME}" | 20 | # nixpkgs.url = "nixpkgs/{BRANCH-NAME}" |
| 16 | }; | 21 | }; |
| 17 | 22 | ||
| 18 | outputs = { self, home-manager, nixpkgs, ... }: | 23 | outputs = { |
| 19 | let | 24 | self, |
| 20 | system = "x86_64-linux"; | 25 | home-manager, |
| 21 | lib = nixpkgs.lib; | 26 | nixpkgs, |
| 22 | pkgs = nixpkgs.legacyPackages.${system}; | 27 | ... |
| 23 | in { | 28 | }: let |
| 24 | nixosConfigurations = { | 29 | system = "x86_64-linux"; |
| 25 | nmarks = lib.nixosSystem { | 30 | lib = nixpkgs.lib; |
| 26 | 	 inherit system; | 31 | pkgs = nixpkgs.legacyPackages.${system}; |
| 27 | modules = [ ./configuration.nix ]; | 32 | in { |
| 33 | nixosConfigurations = { | ||
| 34 | nmarks = lib.nixosSystem { | ||
| 35 | inherit system; | ||
| 36 | modules = [./configuration.nix]; | ||
| 28 | }; | 37 | }; |
| 29 | }; | 38 | }; |
| 30 | homeConfigurations = { | 39 | homeConfigurations = { |
| 31 | nmarks = home-manager.lib.homeManagerConfiguration { | 40 | nmarks = home-manager.lib.homeManagerConfiguration { |
| 32 | inherit pkgs; | 41 | inherit pkgs; |
| 33 | modules = [ ./home.nix ]; | 42 | modules = [./home.nix]; |
| 34 | }; | ||
| 35 | }; | 43 | }; |
| 44 | }; | ||
| 36 | }; | 45 | }; |
| 37 | } | 46 | } |