From 3164b76d64301589f6bee15fa27d2535db2af724 Mon Sep 17 00:00:00 2001 From: Natalie Marks Date: Mon, 29 Jan 2024 01:53:47 -0800 Subject: [PATCH] update flake.nix --- flake.nix | 39 ++++++++++++++++++++++++--------------- 1 file changed, 24 insertions(+), 15 deletions(-) diff --git a/flake.nix b/flake.nix index 78f9aee..4e007bf 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,11 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + # hyprland.url = "github:hyprwm/Hyprland"; + # hyprland-plugins = { + # url = "github:hyprwm/hyprland-plugins"; + # inputs.hyprland.follows = "hyprland"; + # }; # use the following for unstable: # nixpkgs.url = "nixpkgs/nixos-unstable"; @@ -15,23 +20,27 @@ # nixpkgs.url = "nixpkgs/{BRANCH-NAME}" }; - outputs = { self, home-manager, nixpkgs, ... }: - let - system = "x86_64-linux"; - lib = nixpkgs.lib; - pkgs = nixpkgs.legacyPackages.${system}; - in { - nixosConfigurations = { - nmarks = lib.nixosSystem { - inherit system; - modules = [ ./configuration.nix ]; + outputs = { + self, + home-manager, + nixpkgs, + ... + }: let + system = "x86_64-linux"; + lib = nixpkgs.lib; + pkgs = nixpkgs.legacyPackages.${system}; + in { + nixosConfigurations = { + nmarks = lib.nixosSystem { + inherit system; + modules = [./configuration.nix]; }; }; - homeConfigurations = { - nmarks = home-manager.lib.homeManagerConfiguration { - inherit pkgs; - modules = [ ./home.nix ]; - }; + homeConfigurations = { + nmarks = home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [./home.nix]; }; + }; }; }