mirror of
https://github.com/TECHNOFAB11/disko.git
synced 2025-12-11 23:50:05 +01:00
feat: reuse the pre-installed channel
This commit is contained in:
parent
fa17cfe878
commit
a023d391a0
2 changed files with 3 additions and 29 deletions
27
flake.lock
generated
27
flake.lock
generated
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
"nodes": {
|
|
||||||
"nixpkgs": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1660646295,
|
|
||||||
"narHash": "sha256-V4G+egGRc3elXPTr7QLJ7r7yrYed0areIKDiIAlMLC8=",
|
|
||||||
"owner": "NixOS",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"rev": "762b003329510ea855b4097a37511eb19c7077f0",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "NixOS",
|
|
||||||
"ref": "nixos-unstable",
|
|
||||||
"repo": "nixpkgs",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": {
|
|
||||||
"inputs": {
|
|
||||||
"nixpkgs": "nixpkgs"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"root": "root",
|
|
||||||
"version": 7
|
|
||||||
}
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
{
|
{
|
||||||
description = "Description for the project";
|
description = "Description for the project";
|
||||||
|
|
||||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
# don't lock to give precedence to a USB live-installer's registry
|
||||||
|
inputs.nixpkgs.url = "nixpkgs";
|
||||||
|
|
||||||
outputs = { self, nixpkgs, ... }: {
|
outputs = { self, nixpkgs, ... }: {
|
||||||
nixosModules.disko = import ./module.nix;
|
nixosModules.disko = import ./module.nix;
|
||||||
|
|
@ -9,8 +10,8 @@
|
||||||
inherit (nixpkgs) lib;
|
inherit (nixpkgs) lib;
|
||||||
};
|
};
|
||||||
packages.x86_64-linux.disko = let
|
packages.x86_64-linux.disko = let
|
||||||
inherit (nixpkgs) lib;
|
|
||||||
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
pkgs = nixpkgs.legacyPackages.x86_64-linux;
|
||||||
|
inherit (pkgs) lib;
|
||||||
inclFiles = {src, name}: files: lib.cleanSourceWith {
|
inclFiles = {src, name}: files: lib.cleanSourceWith {
|
||||||
inherit src name;
|
inherit src name;
|
||||||
filter = _path: _type: _type == "regular"
|
filter = _path: _type: _type == "regular"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue