added arRPC

This commit is contained in:
Nicolai Van der Storm 2023-10-20 11:51:30 +02:00
parent 6e344e87e5
commit bea59d896f
Signed by: NicolaiVdS
GPG Key ID: CA53B34914EFD59B
4 changed files with 57 additions and 13 deletions

View File

@ -1,5 +1,23 @@
{ {
"nodes": { "nodes": {
"arrpc": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1690915766,
"narHash": "sha256-YynUr5VU7AKjFl74tGKo9RHkyYw4TSFLLtRsNg9SDbQ=",
"owner": "notashelf",
"repo": "arrpc-flake",
"rev": "4d72fe05df250a93e32c70ba6893ddadde438e28",
"type": "github"
},
"original": {
"owner": "notashelf",
"repo": "arrpc-flake",
"type": "github"
}
},
"flake-utils": { "flake-utils": {
"inputs": { "inputs": {
"systems": "systems_2" "systems": "systems_2"
@ -41,7 +59,7 @@
"hyprland": { "hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols", "hyprland-protocols": "hyprland-protocols",
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs_2",
"systems": "systems", "systems": "systems",
"wlroots": "wlroots", "wlroots": "wlroots",
"xdph": "xdph" "xdph": "xdph"
@ -87,7 +105,7 @@
}, },
"maxfetch": { "maxfetch": {
"inputs": { "inputs": {
"nixpkgs": "nixpkgs_2" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1690770330, "lastModified": 1690770330,
@ -104,6 +122,22 @@
} }
}, },
"nixpkgs": { "nixpkgs": {
"locked": {
"lastModified": 1681920287,
"narHash": "sha256-+/d6XQQfhhXVfqfLROJoqj3TuG38CAeoT6jO1g9r1k0=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "645bc49f34fa8eff95479f0345ff57e55b53437e",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1694767346, "lastModified": 1694767346,
"narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=", "narHash": "sha256-5uH27SiVFUwsTsqC5rs3kS7pBoNhtoy9QfTP9BmknGk=",
@ -119,7 +153,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_2": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1690640159, "lastModified": 1690640159,
"narHash": "sha256-5DZUYnkeMOsVb/eqPYb9zns5YsnQXRJRC8Xx/nPMcno=", "narHash": "sha256-5DZUYnkeMOsVb/eqPYb9zns5YsnQXRJRC8Xx/nPMcno=",
@ -135,7 +169,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_3": { "nixpkgs_4": {
"locked": { "locked": {
"lastModified": 1697456312, "lastModified": 1697456312,
"narHash": "sha256-roiSnrqb5r+ehnKCauPLugoU8S36KgmWraHgRqVYndo=", "narHash": "sha256-roiSnrqb5r+ehnKCauPLugoU8S36KgmWraHgRqVYndo=",
@ -151,7 +185,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_5": {
"locked": { "locked": {
"lastModified": 1693060755, "lastModified": 1693060755,
"narHash": "sha256-KNsbfqewEziFJEpPR0qvVz4rx0x6QXxw1CcunRhlFdk=", "narHash": "sha256-KNsbfqewEziFJEpPR0qvVz4rx0x6QXxw1CcunRhlFdk=",
@ -167,11 +201,11 @@
}, },
"nur": { "nur": {
"locked": { "locked": {
"lastModified": 1697637981, "lastModified": 1697646416,
"narHash": "sha256-BReinxzdLksrjXkCZWqHZSEKd4/vWuNwgzmfjKprRxo=", "narHash": "sha256-rWB2uADZlVbKlh+RN54+zo2A3P1iBi/FSxRDUtNbSwI=",
"owner": "nix-community", "owner": "nix-community",
"repo": "NUR", "repo": "NUR",
"rev": "bc8feb3239c1a4a896fd03ada155d1b8ee8ae38c", "rev": "32ef23c823f865d09b34076f2b133ce45464a66b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -183,7 +217,7 @@
"orcaslicer": { "orcaslicer": {
"inputs": { "inputs": {
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1693147294, "lastModified": 1693147294,
@ -201,10 +235,11 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"arrpc": "arrpc",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"maxfetch": "maxfetch", "maxfetch": "maxfetch",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_4",
"nur": "nur", "nur": "nur",
"orcaslicer": "orcaslicer", "orcaslicer": "orcaslicer",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"

View File

@ -14,6 +14,7 @@
inputs.nixpkgs-stable.follows = ""; inputs.nixpkgs-stable.follows = "";
}; };
nur.url = "github:nix-community/NUR"; nur.url = "github:nix-community/NUR";
arrpc.url = "github:notashelf/arrpc-flake";
}; };
outputs = { self, nixpkgs, home-manager, nur, ...}@inputs: outputs = { self, nixpkgs, home-manager, nur, ...}@inputs:
@ -54,4 +55,4 @@
}; };
}; };
}; };
} }

View File

@ -25,4 +25,4 @@ plugin.setup({
reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string) reading_text = "Reading %s", -- Format string rendered when a read-only or unmodifiable file is loaded in the buffer (either string or function(filename: string): string)
workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string) workspace_text = "Working on %s", -- Format string rendered when in a git repository (either string or function(project_name: string|nil, filename: string): string)
line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string) line_number_text = "Line %s out of %s", -- Format string rendered when `enable_line_number` is set to true (either string or function(line_number: number, line_count: number): string)
}) })

View File

@ -1,4 +1,4 @@
{ pkgs, lib, ... }: { pkgs, inputs, lib, ... }:
let let
catppuccin-mocha = pkgs.fetchFromGitHub { catppuccin-mocha = pkgs.fetchFromGitHub {
owner = "catppuccin"; owner = "catppuccin";
@ -9,6 +9,7 @@ let
in { in {
home.packages = with pkgs; [ home.packages = with pkgs; [
(webcord-vencord.override { webcord = webcord.override { electron_25 = electron_24;};}) (webcord-vencord.override { webcord = webcord.override { electron_25 = electron_24;};})
inputs.arrpc.packages.${pkgs.system}.arrpc
]; ];
xdg.configFile = { xdg.configFile = {
@ -16,4 +17,11 @@ in {
source = "${catppuccin-mocha}/themes/mocha.theme.css"; source = "${catppuccin-mocha}/themes/mocha.theme.css";
}; };
}; };
imports = [
inputs.arrpc.homeManagerModules.default
];
services.arrpc.enable = true;
} }