mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 19:51:34 +01:00
winboat: Init module
This commit is contained in:
parent
c3cfcf1b61
commit
cce717c606
3 changed files with 48 additions and 1 deletions
23
flake.lock
generated
23
flake.lock
generated
|
|
@ -302,7 +302,8 @@
|
||||||
"radicale-birthday-calendar": "radicale-birthday-calendar",
|
"radicale-birthday-calendar": "radicale-birthday-calendar",
|
||||||
"sops": "sops",
|
"sops": "sops",
|
||||||
"treefmt": "treefmt",
|
"treefmt": "treefmt",
|
||||||
"vscode-extensions": "vscode-extensions"
|
"vscode-extensions": "vscode-extensions",
|
||||||
|
"winboat": "winboat"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"sops": {
|
"sops": {
|
||||||
|
|
@ -428,6 +429,26 @@
|
||||||
"repo": "nix-vscode-extensions",
|
"repo": "nix-vscode-extensions",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"winboat": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1759967818,
|
||||||
|
"narHash": "sha256-IdUo5sdrvr4TUbdtrmFzPzG6mMDCt0WKDd1cOmUpcIU=",
|
||||||
|
"owner": "TibixDev",
|
||||||
|
"repo": "winboat",
|
||||||
|
"rev": "3c8c4d711b1b466433d85f14b973d5de24ffc554",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "TibixDev",
|
||||||
|
"repo": "winboat",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,11 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
winboat = {
|
||||||
|
url = "github:TibixDev/winboat";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
vscode-extensions = {
|
vscode-extensions = {
|
||||||
url = "github:nix-community/nix-vscode-extensions";
|
url = "github:nix-community/nix-vscode-extensions";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
|
||||||
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