summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro Soto <alejandro@34project.org>2022-04-01 07:26:51 -0600
committerAlejandro Soto <alejandro@34project.org>2022-04-01 08:00:56 -0600
commitf687240a3702be7e18b8b51d1b9c13482082c0cb (patch)
treef6db6035b67dea2063be62c15bdcedbb47e79eb2
parentf7cc6c83af50e339efd44ef5e4a56770952821ac (diff)
sys: add btclone to systemPackages
Diffstat (limited to '')
-rw-r--r--flake.nix2
-rw-r--r--sys/default.nix8
2 files changed, 7 insertions, 3 deletions
diff --git a/flake.nix b/flake.nix
index 03b4010..d00eaea 100644
--- a/flake.nix
+++ b/flake.nix
@@ -29,7 +29,7 @@
nixosConfigurations = let
hostConfig = host: (makeOverridable nixosSystem) {
system = "x86_64-linux";
- modules = [ (import ./sys self) host ];
+ modules = [ (import ./sys { inherit self; }) host ];
};
in mapAttrs (_: hostConfig) (importAll { root = ./sys/platform; });
diff --git a/sys/default.nix b/sys/default.nix
index 643cc0d..a11dd26 100644
--- a/sys/default.nix
+++ b/sys/default.nix
@@ -1,4 +1,4 @@
-selfFlake:
+{ self }:
{ lib, config, pkgs, modulesPath, ... }:
with lib; let
cfg = config.local;
@@ -141,7 +141,7 @@ in {
};
config = {
- nixpkgs.overlays = [ selfFlake.overlay ];
+ nixpkgs.overlays = [ self.overlay ];
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
@@ -296,6 +296,10 @@ in {
displayManager.startx.enable = true;
};
+ environment.systemPackages = [
+ pkgs.local.btclone
+ ];
+
services.udev.packages = [
pkgs.android-udev-rules
];