From ad5c70c957e08de466f37dca936ac227406ba964 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Sat, 17 Jul 2021 15:47:04 -0600 Subject: [PATCH] [NixOS] Tweak lock file --- nixos/flake.lock | 46 +++++++++++++++++++++++----------------------- nixos/flake.nix | 22 +++++++++++----------- 2 files changed, 34 insertions(+), 34 deletions(-) diff --git a/nixos/flake.lock b/nixos/flake.lock index 04277437..1b39b096 100644 --- a/nixos/flake.lock +++ b/nixos/flake.lock @@ -2,7 +2,7 @@ "nodes": { "gitIgnoreNix": { "inputs": { - "nixpkgs": "nixpkgs" + "nixpkgs": "nixpkgs_2" }, "locked": { "lastModified": 1626413882, @@ -21,7 +21,7 @@ }, "gitIgnoreNix_2": { "inputs": { - "nixpkgs": "nixpkgs_2" + "nixpkgs": "nixpkgs_3" }, "locked": { "lastModified": 1626413882, @@ -39,7 +39,7 @@ }, "gitIgnoreNix_3": { "inputs": { - "nixpkgs": "nixpkgs_3" + "nixpkgs": "nixpkgs_4" }, "locked": { "lastModified": 1626413882, @@ -58,7 +58,7 @@ "home-manager": { "inputs": { "nixpkgs": [ - "my_unstable" + "nixpkgs" ] }, "locked": { @@ -88,22 +88,11 @@ "type": "github" } }, - "my_unstable": { - "locked": { - "narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=", - "path": "./nixpkgs", - "type": "path" - }, - "original": { - "path": "./nixpkgs", - "type": "path" - } - }, "nix": { "inputs": { "lowdown-src": "lowdown-src", "nixpkgs": [ - "my_unstable" + "nixpkgs" ] }, "locked": { @@ -139,12 +128,12 @@ "nixpkgs": { "locked": { "narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=", - "path": "/nix/store/z30j15qd7l90y8c9fb3nd2703g65dskp-source", + "path": "./nixpkgs", "type": "path" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "path": "./nixpkgs", + "type": "path" } }, "nixpkgs_2": { @@ -169,12 +158,23 @@ "type": "indirect" } }, + "nixpkgs_4": { + "locked": { + "narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=", + "path": "/nix/store/z30j15qd7l90y8c9fb3nd2703g65dskp-source", + "type": "path" + }, + "original": { + "id": "nixpkgs", + "type": "indirect" + } + }, "root": { "inputs": { "home-manager": "home-manager", - "my_unstable": "my_unstable", "nix": "nix", "nixos-hardware": "nixos-hardware", + "nixpkgs": "nixpkgs", "taffybar": "taffybar", "xmonad": "xmonad", "xmonad-contrib": "xmonad-contrib" @@ -184,7 +184,7 @@ "inputs": { "gitIgnoreNix": "gitIgnoreNix", "nixpkgs": [ - "my_unstable" + "nixpkgs" ] }, "locked": { @@ -201,7 +201,7 @@ "inputs": { "gitIgnoreNix": "gitIgnoreNix_2", "nixpkgs": [ - "my_unstable" + "nixpkgs" ] }, "locked": { @@ -218,7 +218,7 @@ "inputs": { "gitIgnoreNix": "gitIgnoreNix_3", "nixpkgs": [ - "my_unstable" + "nixpkgs" ] }, "locked": { diff --git a/nixos/flake.nix b/nixos/flake.nix index c32cc51d..3623ef08 100644 --- a/nixos/flake.nix +++ b/nixos/flake.nix @@ -3,30 +3,30 @@ nixos-hardware.url = github:nixos/nixos-hardware; nix = { url = github:IvanMalison/nix/master; - inputs.nixpkgs.follows = "my_unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; - my_unstable = { + nixpkgs = { url = path:./nixpkgs; }; home-manager = { url = path:./home-manager; - inputs.nixpkgs.follows = "my_unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; xmonad-contrib = { url = path:../dotfiles/config/xmonad/xmonad-contrib; - inputs.nixpkgs.follows = "my_unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; xmonad = { url = path:../dotfiles/config/xmonad/xmonad; - inputs.nixpkgs.follows = "my_unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; taffybar = { url = path:../dotfiles/config/taffybar/taffybar; - inputs.nixpkgs.follows = "my_unstable"; + inputs.nixpkgs.follows = "nixpkgs"; }; }; outputs = { - self, nix, my_unstable, nixos-hardware, home-manager, taffybar, xmonad, + self, nix, nixpkgs, nixos-hardware, home-manager, taffybar, xmonad, xmonad-contrib }: let forAll = ({ ... }: { @@ -34,7 +34,7 @@ extraOptions = '' experimental-features = nix-command flakes ''; - registry.nixpkgs.flake = my_unstable; + registry.nixpkgs.flake = nixpkgs; }; nixpkgs.overlays = [ nix.overlay taffybar.overlay xmonad.overlay xmonad-contrib.overlay @@ -51,15 +51,15 @@ in { nixosConfigurations = { - ivanm-dfinity-razer = my_unstable.lib.nixosSystem { + ivanm-dfinity-razer = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ forAll ./machines/ivanm-dfinity-razer.nix ]; }; - ryzen-shine = my_unstable.lib.nixosSystem { + ryzen-shine = nixpkgs.lib.nixosSystem { system = "x86_64-linux"; modules = [ forAll ./machines/ryzen-shine.nix ]; }; - biskcomp = my_unstable.lib.nixosSystem { + biskcomp = nixpkgs.lib.nixosSystem { system = "aarch64-linux"; modules = [ forAll piHardware ./machines/biskcomp.nix ]; };