[NixOS] Tweak lock file

This commit is contained in:
Ivan Malison 2021-07-17 15:47:04 -06:00
parent bd6a19a769
commit ad5c70c957
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8
2 changed files with 34 additions and 34 deletions

View File

@ -2,7 +2,7 @@
"nodes": { "nodes": {
"gitIgnoreNix": { "gitIgnoreNix": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs" "nixpkgs": "nixpkgs_2"
}, },
"locked": { "locked": {
"lastModified": 1626413882, "lastModified": 1626413882,
@ -21,7 +21,7 @@
}, },
"gitIgnoreNix_2": { "gitIgnoreNix_2": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1626413882, "lastModified": 1626413882,
@ -39,7 +39,7 @@
}, },
"gitIgnoreNix_3": { "gitIgnoreNix_3": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_3" "nixpkgs": "nixpkgs_4"
}, },
"locked": { "locked": {
"lastModified": 1626413882, "lastModified": 1626413882,
@ -58,7 +58,7 @@
"home-manager": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
"my_unstable" "nixpkgs"
] ]
}, },
"locked": { "locked": {
@ -88,22 +88,11 @@
"type": "github" "type": "github"
} }
}, },
"my_unstable": {
"locked": {
"narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=",
"path": "./nixpkgs",
"type": "path"
},
"original": {
"path": "./nixpkgs",
"type": "path"
}
},
"nix": { "nix": {
"inputs": { "inputs": {
"lowdown-src": "lowdown-src", "lowdown-src": "lowdown-src",
"nixpkgs": [ "nixpkgs": [
"my_unstable" "nixpkgs"
] ]
}, },
"locked": { "locked": {
@ -139,12 +128,12 @@
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=", "narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=",
"path": "/nix/store/z30j15qd7l90y8c9fb3nd2703g65dskp-source", "path": "./nixpkgs",
"type": "path" "type": "path"
}, },
"original": { "original": {
"id": "nixpkgs", "path": "./nixpkgs",
"type": "indirect" "type": "path"
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
@ -169,12 +158,23 @@
"type": "indirect" "type": "indirect"
} }
}, },
"nixpkgs_4": {
"locked": {
"narHash": "sha256-ejJE3m7ymOKpPE6NBDlWla1FitMw04hB8JAUeW9WIn8=",
"path": "/nix/store/z30j15qd7l90y8c9fb3nd2703g65dskp-source",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": { "root": {
"inputs": { "inputs": {
"home-manager": "home-manager", "home-manager": "home-manager",
"my_unstable": "my_unstable",
"nix": "nix", "nix": "nix",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"taffybar": "taffybar", "taffybar": "taffybar",
"xmonad": "xmonad", "xmonad": "xmonad",
"xmonad-contrib": "xmonad-contrib" "xmonad-contrib": "xmonad-contrib"
@ -184,7 +184,7 @@
"inputs": { "inputs": {
"gitIgnoreNix": "gitIgnoreNix", "gitIgnoreNix": "gitIgnoreNix",
"nixpkgs": [ "nixpkgs": [
"my_unstable" "nixpkgs"
] ]
}, },
"locked": { "locked": {
@ -201,7 +201,7 @@
"inputs": { "inputs": {
"gitIgnoreNix": "gitIgnoreNix_2", "gitIgnoreNix": "gitIgnoreNix_2",
"nixpkgs": [ "nixpkgs": [
"my_unstable" "nixpkgs"
] ]
}, },
"locked": { "locked": {
@ -218,7 +218,7 @@
"inputs": { "inputs": {
"gitIgnoreNix": "gitIgnoreNix_3", "gitIgnoreNix": "gitIgnoreNix_3",
"nixpkgs": [ "nixpkgs": [
"my_unstable" "nixpkgs"
] ]
}, },
"locked": { "locked": {

View File

@ -3,30 +3,30 @@
nixos-hardware.url = github:nixos/nixos-hardware; nixos-hardware.url = github:nixos/nixos-hardware;
nix = { nix = {
url = github:IvanMalison/nix/master; url = github:IvanMalison/nix/master;
inputs.nixpkgs.follows = "my_unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
my_unstable = { nixpkgs = {
url = path:./nixpkgs; url = path:./nixpkgs;
}; };
home-manager = { home-manager = {
url = path:./home-manager; url = path:./home-manager;
inputs.nixpkgs.follows = "my_unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
xmonad-contrib = { xmonad-contrib = {
url = path:../dotfiles/config/xmonad/xmonad-contrib; url = path:../dotfiles/config/xmonad/xmonad-contrib;
inputs.nixpkgs.follows = "my_unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
xmonad = { xmonad = {
url = path:../dotfiles/config/xmonad/xmonad; url = path:../dotfiles/config/xmonad/xmonad;
inputs.nixpkgs.follows = "my_unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
taffybar = { taffybar = {
url = path:../dotfiles/config/taffybar/taffybar; url = path:../dotfiles/config/taffybar/taffybar;
inputs.nixpkgs.follows = "my_unstable"; inputs.nixpkgs.follows = "nixpkgs";
}; };
}; };
outputs = { outputs = {
self, nix, my_unstable, nixos-hardware, home-manager, taffybar, xmonad, self, nix, nixpkgs, nixos-hardware, home-manager, taffybar, xmonad,
xmonad-contrib xmonad-contrib
}: }:
let forAll = ({ ... }: { let forAll = ({ ... }: {
@ -34,7 +34,7 @@
extraOptions = '' extraOptions = ''
experimental-features = nix-command flakes experimental-features = nix-command flakes
''; '';
registry.nixpkgs.flake = my_unstable; registry.nixpkgs.flake = nixpkgs;
}; };
nixpkgs.overlays = [ nixpkgs.overlays = [
nix.overlay taffybar.overlay xmonad.overlay xmonad-contrib.overlay nix.overlay taffybar.overlay xmonad.overlay xmonad-contrib.overlay
@ -51,15 +51,15 @@
in in
{ {
nixosConfigurations = { nixosConfigurations = {
ivanm-dfinity-razer = my_unstable.lib.nixosSystem { ivanm-dfinity-razer = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ forAll ./machines/ivanm-dfinity-razer.nix ]; modules = [ forAll ./machines/ivanm-dfinity-razer.nix ];
}; };
ryzen-shine = my_unstable.lib.nixosSystem { ryzen-shine = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ forAll ./machines/ryzen-shine.nix ]; modules = [ forAll ./machines/ryzen-shine.nix ];
}; };
biskcomp = my_unstable.lib.nixosSystem { biskcomp = nixpkgs.lib.nixosSystem {
system = "aarch64-linux"; system = "aarch64-linux";
modules = [ forAll piHardware ./machines/biskcomp.nix ]; modules = [ forAll piHardware ./machines/biskcomp.nix ];
}; };