From ddd3490dfb592417163e801994a60854dac135fe Mon Sep 17 00:00:00 2001 From: spl3g Date: Thu, 26 Oct 2023 14:44:22 +0300 Subject: configs for my laptop --- flake.nix | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 616a63c..c0a755f 100644 --- a/flake.nix +++ b/flake.nix @@ -3,14 +3,14 @@ inputs = { # Nixpkgs - nixpkgs.url = "nixpkgs/nixos-unstable"; + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; # You can access packages and modules from different nixpkgs revs # at the same time. Here's an working example: # Also see the 'unstable-packages' overlay at 'overlays/default.nix'. # Home manager home-manager = { - url = "github:nix-community/home-manager/release-23.05"; + url = "github:nix-community/home-manager/"; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -19,10 +19,16 @@ inputs.nixpkgs.follows = "nixpkgs"; }; + hyprland = { + url = github:hyprwm/Hyprland; + inputs.nixpkgs.follows = "nixpkgs"; + }; + nix-gaming.url = "github:fufexan/nix-gaming"; + emacs-overlay.url = "github:nix-community/emacs-overlay"; }; - outputs = { self, nixpkgs, home-manager, nur, ... }@inputs: + outputs = { self, nixpkgs, home-manager, nurpkgs, hyprland, ... }@inputs: let inherit (self) outputs; forAllSystems = nixpkgs.lib.genAttrs [ @@ -46,7 +52,7 @@ ); # Your custom packages and modifications, exported as overlays - overlays = import ./overlays { inherit inputs; }; + overlays = import ./overlays { inherit inputs outputs; }; # Reusable nixos modules you might want to export # These are usually stuff you would upstream into nixpkgs nixosModules = import ./modules/nixos; @@ -62,7 +68,7 @@ modules = [ # > Our main nixos configuration file < ./nixos/configuration.nix - nur.nixosModules.nur + nurpkgs.nixosModules.nur ]; }; }; -- cgit v1.2.3