From 5f89becff7cf8f4fd83e069459f6b8b5d773b956 Mon Sep 17 00:00:00 2001 From: spl3g Date: Fri, 8 Mar 2024 16:26:58 +0300 Subject: thats a lot of deletions --- flake.nix | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 07b8d6c..6c01c42 100644 --- a/flake.nix +++ b/flake.nix @@ -1,16 +1,13 @@ { - description = "Yep thats i'm learning nix"; + description = "NixOS configs <3"; inputs = { # Nixpkgs - 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'. + nixpkgs.url = github:nixos/nixpkgs/nixos-unstable; # Home manager home-manager = { - url = "github:nix-community/home-manager/"; + url = github:nix-community/home-manager; inputs.nixpkgs.follows = "nixpkgs"; }; @@ -24,20 +21,22 @@ inputs.nixpkgs.follows = "nixpkgs"; }; - emacs-overlay.url = "github:nix-community/emacs-overlay"; - - ags.url = "github:Aylur/ags"; + nix-colors.url = github:Misterio77/nix-colors; }; - outputs = { self, nixpkgs, home-manager, nurpkgs, hyprland, emacs-overlay, ags, ... }@inputs: + outputs = { self + , nixpkgs + , home-manager + , nurpkgs + , hyprland + , nix-colors + , ... }@inputs: let inherit (self) outputs; forAllSystems = nixpkgs.lib.genAttrs [ "aarch64-linux" "i686-linux" "x86_64-linux" - "aarch64-darwin" - "x86_64-darwin" ]; in { @@ -65,17 +64,15 @@ # Available through 'nixos-rebuild --flake .#your-hostname' nixosConfigurations = { ltrr-mini = nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs outputs; }; + specialArgs = { inherit inputs outputs nix-colors; }; modules = [ - # > Our main nixos configuration file < ./nixos/laptop/configuration.nix nurpkgs.nixosModules.nur ]; }; ltrr = nixpkgs.lib.nixosSystem { - specialArgs = { inherit inputs outputs; }; + specialArgs = { inherit inputs outputs nix-colors; }; modules = [ - # > Our main nixos configuration file < ./nixos/pc/configuration.nix nurpkgs.nixosModules.nur ]; -- cgit v1.2.3