mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 16:21:34 +01:00
winboat: Init module
This commit is contained in:
parent
c3cfcf1b61
commit
cce717c606
3 changed files with 48 additions and 1 deletions
21
modules/system/programs/winboat.nix
Normal file
21
modules/system/programs/winboat.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{
|
||||
config,
|
||||
inputs,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.custom.programs.winboat.enable = lib.mkEnableOption "";
|
||||
|
||||
config = lib.mkIf config.custom.programs.winboat.enable {
|
||||
virtualisation.docker.enable = true;
|
||||
users.users.seb.extraGroups = [ config.users.group.docker.name ];
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.docker-compose
|
||||
pkgs.freerdp
|
||||
inputs.winboat.packages.${pkgs.system}.winboat
|
||||
];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue