From ce298ecb40b1099ff72e4d7ace97f3e043de7ca8 Mon Sep 17 00:00:00 2001 From: alex Date: Wed, 21 Jun 2023 19:52:04 -0400 Subject: [PATCH] stop using flake-utils --- flake.lock | 34 ---------------------------------- flake.nix | 31 +++++++++++++++---------------- 2 files changed, 15 insertions(+), 50 deletions(-) diff --git a/flake.lock b/flake.lock index d4f92a9..0c747cd 100644 --- a/flake.lock +++ b/flake.lock @@ -1,23 +1,5 @@ { "nodes": { - "flake-utils": { - "inputs": { - "systems": "systems" - }, - "locked": { - "lastModified": 1687171271, - "narHash": "sha256-BJlq+ozK2B1sJDQXS3tzJM5a+oVZmi1q0FlBK/Xqv7M=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "abfb11bd1aec8ced1c9bb9adfe68018230f4fb3c", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, "nixpkgs": { "locked": { "lastModified": 1687288566, @@ -36,24 +18,8 @@ }, "root": { "inputs": { - "flake-utils": "flake-utils", "nixpkgs": "nixpkgs" } - }, - "systems": { - "locked": { - "lastModified": 1681028828, - "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", - "owner": "nix-systems", - "repo": "default", - "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", - "type": "github" - }, - "original": { - "owner": "nix-systems", - "repo": "default", - "type": "github" - } } }, "root": "root", diff --git a/flake.nix b/flake.nix index 10a1a60..f54a535 100644 --- a/flake.nix +++ b/flake.nix @@ -1,23 +1,22 @@ { inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05"; - flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, nixpkgs, flake-utils }: - flake-utils.lib.eachDefaultSystem (system: - let - pkgs = nixpkgs.legacyPackages.${system}; - atauPkgs = { - atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { }; - theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { }; - }; - in - { - packages = rec { - default = atauPkgs.theme-platinum9; - } // atauPkgs; + outputs = { self, nixpkgs }: + let + system = "x86_64-linux"; + pkgs = nixpkgs.legacyPackages.${system}; + atauPkgs = { + atau-wallpapers = pkgs.callPackage ./atau-wallpapers/default.nix { }; + theme-platinum9 = pkgs.callPackage ./theme-platinum9/default.nix { }; + }; + in + { + packages.${system} = { + default = atauPkgs.theme-platinum9; + } // atauPkgs; - overlay = final: prev: { } // atauPkgs; - }); + overlays.default = final: prev: atauPkgs; + }; }