Add aarch64 widevine; nix flake update

This commit is contained in:
xqtc161 2024-05-31 19:07:25 +02:00
parent a986d3238d
commit 2965490033
3 changed files with 42 additions and 4 deletions

View file

@ -343,6 +343,24 @@
"type": "github"
}
},
"nixos-aarch64-widevine": {
"inputs": {
"nixpkgs": "nixpkgs_4"
},
"locked": {
"lastModified": 1712816564,
"narHash": "sha256-2oPCuv4hox+FDWdUnyjhmSB7d24i0mFH5pJjVJGY6JM=",
"owner": "epetousis",
"repo": "nixos-aarch64-widevine",
"rev": "fa046abfed9ff3b5c1e0a2ae16311a33056056fd",
"type": "github"
},
"original": {
"owner": "epetousis",
"repo": "nixos-aarch64-widevine",
"type": "github"
}
},
"nixos-hardware": {
"locked": {
"lastModified": 1716987116,
@ -424,6 +442,22 @@
}
},
"nixpkgs_4": {
"locked": {
"lastModified": 1712122226,
"narHash": "sha256-pmgwKs8Thu1WETMqCrWUm0CkN1nmCKX3b51+EXsAZyY=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "08b9151ed40350725eb40b1fe96b0b86304a654b",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1716769173,
"narHash": "sha256-7EXDb5WBw+d004Agt+JHC/Oyh/KTUglOaQ4MNjBbo5w=",
@ -439,7 +473,7 @@
"type": "github"
}
},
"nixpkgs_5": {
"nixpkgs_6": {
"locked": {
"lastModified": 1686020360,
"narHash": "sha256-Wee7lIlZ6DIZHHLiNxU5KdYZQl0iprENXa/czzI6Cj4=",
@ -490,8 +524,9 @@
"flake-utils": "flake-utils_2",
"home-manager": "home-manager",
"nh": "nh",
"nixos-aarch64-widevine": "nixos-aarch64-widevine",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs_4",
"nixpkgs": "nixpkgs_5",
"nixpkgs-master": "nixpkgs-master",
"nixvim": "nixvim",
"spicetify-nix": "spicetify-nix"
@ -516,7 +551,7 @@
"spicetify-nix": {
"inputs": {
"flake-utils": "flake-utils_4",
"nixpkgs": "nixpkgs_5"
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1704167711,

View file

@ -2,6 +2,7 @@
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";
nixos-aarch64-widevine.url = "github:epetousis/nixos-aarch64-widevine";
nixpkgs-master.url = "github:NixOS/nixpkgs/master";
apple-silicon.url = "github:tpwrules/nixos-apple-silicon";
home-manager = {
@ -75,7 +76,7 @@
};
"alastor" = lib.nixosSystem {
system = "aarch64-linux";
modules = [./hosts/aarch64-linux/alastor];
modules = [./hosts/aarch64-linux/alastor {nixpkgs.overlays = [ inputs.nixos-aarch64-widevine.overlays.default ];}];
specialArgs = {inherit inputs;};
};
};

View file

@ -36,6 +36,8 @@
services.pcscd.enable = true;
environment.sessionVariables.MOZ_GMP_PATH = [ "${pkgs.widevine-cdm-lacros}/gmp-widevinecdm/system-installed" ];
networking.hostName = "alastor"; # Define your hostname.
# Pick only one of the below networking options.
networking.wireless.iwd = {