aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
diff options
context:
space:
mode:
authorspl3g <spleefer6@yandex.ru>2023-10-26 14:44:22 +0300
committerspl3g <spleefer6@yandex.ru>2023-10-26 14:44:22 +0300
commitddd3490dfb592417163e801994a60854dac135fe (patch)
treeff25c2df4bd89fc837ed585dfac38594b5f23b72 /flake.nix
parent429bf12cd70405d6ea18d14fe9d384a6458ae99d (diff)
configs for my laptop
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix16
1 files changed, 11 insertions, 5 deletions
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
];
};
};