Initial commit.
This commit is contained in:
commit
67823cbed6
51 changed files with 1714 additions and 0 deletions
18
roles/media-pc.nix
Normal file
18
roles/media-pc.nix
Normal file
|
@ -0,0 +1,18 @@
|
|||
{ config, lib, ... }:
|
||||
|
||||
{
|
||||
options.services.mediaPC = {
|
||||
enable = lib.mkEnableOption "Media PC";
|
||||
autoLoginUser = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
description = "User to autologin as";
|
||||
};
|
||||
};
|
||||
|
||||
config = lib.mkIf config.services.mediaPC.enable {
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
# package = pkgs.firefox.override { nativeMessagingHosts = [ pkgs.gnome-browser-connector ]; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue