mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-22 08:14:00 +01:00
nix: Use flake-programs-sqlite for command-not-found
This was my attempt at using flake-programs-sqlite, which worked, but requires an additional flake input in order to function properly.
This commit is contained in:
parent
838dedede9
commit
f1ee89ddc8
37
flake.lock
37
flake.lock
@ -130,6 +130,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"flake-programs-sqlite": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"utils": "utils"
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1721313750,
|
||||||
|
"narHash": "sha256-2QNLz4ZJgjadO+2QqG8EQlMMUwMt6B2nM9uCbOFpfg8=",
|
||||||
|
"owner": "wamserma",
|
||||||
|
"repo": "flake-programs-sqlite",
|
||||||
|
"rev": "9ce04c62b21a4f4251aaa661a60a7f9326867f54",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "wamserma",
|
||||||
|
"repo": "flake-programs-sqlite",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"fromYaml": {
|
"fromYaml": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
@ -217,6 +238,7 @@
|
|||||||
},
|
},
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
|
"flake-programs-sqlite": "flake-programs-sqlite",
|
||||||
"home-manager": "home-manager",
|
"home-manager": "home-manager",
|
||||||
"mobile-nixos": "mobile-nixos",
|
"mobile-nixos": "mobile-nixos",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
@ -275,6 +297,21 @@
|
|||||||
"repo": "stylix",
|
"repo": "stylix",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"utils": {
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1678901627,
|
||||||
|
"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=",
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "numtide",
|
||||||
|
"repo": "flake-utils",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
@ -24,6 +24,11 @@
|
|||||||
url = "github:donovanglover/mobile-nixos";
|
url = "github:donovanglover/mobile-nixos";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
flake-programs-sqlite = {
|
||||||
|
url = "github:wamserma/flake-programs-sqlite";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixpkgs, mobile-nixos, ... } @ attrs:
|
outputs = { self, nixpkgs, mobile-nixos, ... } @ attrs:
|
||||||
|
@ -11,6 +11,7 @@ in
|
|||||||
{
|
{
|
||||||
imports = attrValues {
|
imports = attrValues {
|
||||||
inherit (nix-config.inputs.home-manager.nixosModules) home-manager;
|
inherit (nix-config.inputs.home-manager.nixosModules) home-manager;
|
||||||
|
inherit (nix-config.inputs.flake-programs-sqlite.nixosModules) programs-sqlite;
|
||||||
};
|
};
|
||||||
|
|
||||||
options.modules.system = {
|
options.modules.system = {
|
||||||
@ -260,7 +261,5 @@ in
|
|||||||
|
|
||||||
gnome.excludePackages = with pkgs; [ gnome-tour ];
|
gnome.excludePackages = with pkgs; [ gnome-tour ];
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.command-not-found.enable = false;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user