add(helium): added nikkuss-pkgs and helium from that
This commit is contained in:
3
nix/modules/helium/default.nix
Normal file
3
nix/modules/helium/default.nix
Normal file
@@ -0,0 +1,3 @@
|
||||
_: {
|
||||
home = ./home.nix;
|
||||
}
|
||||
30
nix/modules/helium/home.nix
Normal file
30
nix/modules/helium/home.nix
Normal file
@@ -0,0 +1,30 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cfg = config.modules.helium;
|
||||
# packageNix = "${inputs.nixpkgs-gamescope}/pkgs/by-name/he/helium-browser/package.nix";
|
||||
# helium = inputs.nikkuss-pkgs.callPackage packageNix { };
|
||||
in
|
||||
{
|
||||
options.modules.helium = {
|
||||
enable = lib.mkEnableOption "helium";
|
||||
};
|
||||
config = lib.mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
helium-browser
|
||||
];
|
||||
# xdg.mimeApps.defaultApplications = {
|
||||
# "text/html" = "chromium.desktop";
|
||||
# "x-scheme-handler/http" = "chromium.desktop";
|
||||
# "x-scheme-handler/https" = "chromium.desktop";
|
||||
# "x-scheme-handler/about" = "chromium.desktop";
|
||||
# "x-scheme-handler/unknown" = "chromium.desktop";
|
||||
# };
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user