Make srb2 a module

This makes it easier to add and remove srb2 from machines by simply
importing its module.
This commit is contained in:
Donovan Glover 2023-05-16 21:22:51 -04:00
parent 4f18602527
commit d5db1b513e
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 8 additions and 0 deletions

View File

@ -11,6 +11,7 @@
./modules/dual-function-keys.nix ./modules/dual-function-keys.nix
./modules/tlp.nix ./modules/tlp.nix
./modules/osu ./modules/osu
./modules/srb2
]; ];
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;

7
modules/srb2/default.nix Normal file
View File

@ -0,0 +1,7 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [
(pkgs.callPackage ./package {})
];
}