diff options
| -rw-r--r-- | flake.nix | 6 | ||||
| -rw-r--r-- | machines/picast/default.nix | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -284,6 +284,12 @@ ]; }; picast = lib.nixosSystem { # anger at chromecast + specialArgs = { + pkgs-unstable = import nixpkgs-unstable { + system = "aarch64-linux"; + config.allowUnfree = true; + }; + }; modules = minimalHomeManagerSettings ++ [ ./machines/picast home-manager.nixosModules.home-manager { home-manager.users.defin = import ./home-manager/default.nix; } ]; diff --git a/machines/picast/default.nix b/machines/picast/default.nix index 99d8507..46adc0a 100644 --- a/machines/picast/default.nix +++ b/machines/picast/default.nix @@ -2,7 +2,7 @@ # your system. Help is available in the configuration.nix(5) man page, on # https://search.nixos.org/options and in the NixOS manual (`nixos-help`). -{ config, lib, pkgs, ... }: +{ config, lib, pkgs, pkgs-unstable, ... }: { imports = @@ -47,6 +47,7 @@ users.extraUsers.kodi.isNormalUser = true; services.cage = { + package = pkgs-unstable.cage; enable = true; user = "kodi"; program = "${pkgs.kodi-wayland}/bin/kodi-standalone"; |
