Added netflix app
This commit is contained in:
@@ -73,6 +73,7 @@ in
|
|||||||
|
|
||||||
# - Other apps -------------------------------
|
# - Other apps -------------------------------
|
||||||
app.spotify.enable = true;
|
app.spotify.enable = true;
|
||||||
|
# app.netflix.enable = true;
|
||||||
|
|
||||||
# - Gaming -----------------------------------
|
# - Gaming -----------------------------------
|
||||||
gaming.lutris.enable = true;
|
gaming.lutris.enable = true;
|
||||||
|
|||||||
15
modules/app/netflix.nix
Normal file
15
modules/app/netflix.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
cfg = config.samfelag.modules.app.netflix;
|
||||||
|
in
|
||||||
|
{
|
||||||
|
options.samfelag.modules.app.netflix = {
|
||||||
|
enable = lib.mkEnableOption "netflix";
|
||||||
|
};
|
||||||
|
config = lib.mkIf cfg.enable {
|
||||||
|
hm.home.packages = with pkgs; [
|
||||||
|
netflix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user