~jshholland/nixos-configs

3e2138dd4172337ca1bca4fa434e4faf369b5052 — Josh Holland 2 months ago 61489cd
flake: override to get element security fix
2 files changed, 20 insertions(+), 1 deletions(-)

M flake.lock
M flake.nix
M flake.lock => flake.lock +17 -0
@@ 18,6 18,22 @@
        "url": "https://git.sr.ht/~jshholland/doomsday"
      }
    },
    "element-fix": {
      "locked": {
        "lastModified": 1664388295,
        "narHash": "sha256-pjvbClLVxY14g/YpKdK5BTprwlJCYLIC9LsIlOxXhIk=",
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "8f267bdfbe31b01eb82ca36a27e67f159a4a2f3e",
        "type": "github"
      },
      "original": {
        "owner": "NixOS",
        "repo": "nixpkgs",
        "rev": "8f267bdfbe31b01eb82ca36a27e67f159a4a2f3e",
        "type": "github"
      }
    },
    "home-manager": {
      "inputs": {
        "nixpkgs": [


@@ 87,6 103,7 @@
    "root": {
      "inputs": {
        "doomsday": "doomsday",
        "element-fix": "element-fix",
        "home-manager": "home-manager",
        "nixpkgs": "nixpkgs_2",
        "sops-nix": "sops-nix"

M flake.nix => flake.nix +3 -1
@@ 12,9 12,10 @@
      url = "github:Mic92/sops-nix";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    element-fix.url = "github:NixOS/nixpkgs/8f267bdfbe31b01eb82ca36a27e67f159a4a2f3e";
  };

  outputs = { self, nixpkgs, home-manager, doomsday, sops-nix }:
  outputs = { self, nixpkgs, home-manager, doomsday, sops-nix, element-fix }:
    let allSystems = [ "x86_64-linux" "aarch64-linux" ]; in
    {
      nixosConfigurations =


@@ 29,6 30,7 @@
                nix.registry.nixpkgs.flake = nixpkgs;
                nixpkgs.overlays = [
                  (final: prev: {
                    inherit (import element-fix { inherit system; }) element-desktop;
                    doomsday = doomsday.defaultPackage.${system};
                    kakoune-unwrapped = prev.kakoune-unwrapped.overrideAttrs (_old: {
                      version = "2021.11.08+g513753a";