Change input to clone of NUR

This commit is contained in:
Kiana Sheibani 2023-01-07 23:19:54 -05:00
parent baa6c70835
commit 3397631dc2

View file

@ -7,7 +7,7 @@ inputs = {
mobile-nixos.url = "github:wentam/mobile-nixos/ppp-pr"; mobile-nixos.url = "github:wentam/mobile-nixos/ppp-pr";
mobile-nixos.flake = false; mobile-nixos.flake = false;
sxmo.url = "sourcehut:~noneucat/nur-packages"; sxmo.url = "github:kiana-S/nixos-sxmo";
sxmo.flake = false; sxmo.flake = false;
home-manager.url = "github:nix-community/home-manager/master"; home-manager.url = "github:nix-community/home-manager/master";
@ -28,12 +28,6 @@ outputs = { self,
fullname = "Kiana Sheibani"; fullname = "Kiana Sheibani";
moduleArgs = { inherit username fullname; } // inputs; moduleArgs = { inherit username fullname; } // inputs;
lib = nixpkgs.lib; lib = nixpkgs.lib;
sxmo-overlay = final: prev: {
nur.repos.noneucat = import sxmo { pkgs = final; };
};
sxmo-pkgs = import nixpkgs { system = "aarch64-linux"; overlays = [ sxmo-overlay ]; };
in { in {
nixosConfigurations = { nixosConfigurations = {
"${username}-desktop" = lib.makeOverridable lib.nixosSystem { "${username}-desktop" = lib.makeOverridable lib.nixosSystem {
@ -91,7 +85,7 @@ outputs = { self,
./hardware-configuration/mobile.nix ./hardware-configuration/mobile.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
(import (mobile-nixos + /lib/configuration.nix) { device = "pine64-pinephonepro"; }) (import (mobile-nixos + /lib/configuration.nix) { device = "pine64-pinephonepro"; })
sxmo-pkgs.nur.repos.noneucat.modules.pinephone.sxmo (import sxmo { pkgs = import nixpkgs {}; }).modules.pinephone.sxmo
{ {
home-manager.users.${username} = import ./mobile/home-manager.nix; home-manager.users.${username} = import ./mobile/home-manager.nix;