add bitwarden-rofi
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
913ea98c12
commit
46b0f1c490
@ -153,7 +153,7 @@
|
|||||||
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
|
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
|
||||||
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
|
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
|
||||||
|
|
||||||
nixosConfigurations = genSystems inputs src (src + "/systems");
|
nixosConfigurations = genSystems inputs outputs src (src + "/systems");
|
||||||
images = {
|
images = {
|
||||||
install-iso = getImages nixosConfigurations "install-iso";
|
install-iso = getImages nixosConfigurations "install-iso";
|
||||||
iso = getImages nixosConfigurations "iso";
|
iso = getImages nixosConfigurations "iso";
|
||||||
@ -164,7 +164,7 @@
|
|||||||
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
|
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
|
||||||
|
|
||||||
packages.bitwarden-rofi =
|
packages.bitwarden-rofi =
|
||||||
inputs.nixpkgs.legacyPackages.x86-64_linux.callPackage ./pkgs/bitwarden-rofi
|
inputs.nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/bitwarden-rofi
|
||||||
{ };
|
{ };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -149,6 +149,7 @@ rec {
|
|||||||
configPath,
|
configPath,
|
||||||
hostname,
|
hostname,
|
||||||
inputs,
|
inputs,
|
||||||
|
outputs,
|
||||||
src,
|
src,
|
||||||
users,
|
users,
|
||||||
home ? true,
|
home ? true,
|
||||||
@ -160,7 +161,12 @@ rec {
|
|||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
inherit system;
|
inherit system;
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit inputs server system;
|
inherit
|
||||||
|
inputs
|
||||||
|
outputs
|
||||||
|
server
|
||||||
|
system
|
||||||
|
;
|
||||||
};
|
};
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
@ -194,7 +200,7 @@ rec {
|
|||||||
# type:
|
# type:
|
||||||
# genSystems :: AttrSet -> Path -> Path -> AttrSet
|
# genSystems :: AttrSet -> Path -> Path -> AttrSet
|
||||||
genSystems =
|
genSystems =
|
||||||
inputs: src: path:
|
inputs: outputs: src: path:
|
||||||
builtins.listToAttrs (
|
builtins.listToAttrs (
|
||||||
map (
|
map (
|
||||||
name:
|
name:
|
||||||
@ -205,7 +211,12 @@ rec {
|
|||||||
inherit name;
|
inherit name;
|
||||||
value = constructSystem (
|
value = constructSystem (
|
||||||
{
|
{
|
||||||
inherit inputs src configPath;
|
inherit
|
||||||
|
inputs
|
||||||
|
outputs
|
||||||
|
src
|
||||||
|
configPath
|
||||||
|
;
|
||||||
hostname = name;
|
hostname = name;
|
||||||
}
|
}
|
||||||
// import configPath { inherit inputs; }
|
// import configPath { inherit inputs; }
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
inputs,
|
inputs,
|
||||||
|
outputs,
|
||||||
server,
|
server,
|
||||||
system,
|
system,
|
||||||
...
|
...
|
||||||
@ -26,7 +27,7 @@
|
|||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
|
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
|
||||||
extraSpecialArgs = {
|
extraSpecialArgs = {
|
||||||
inherit inputs;
|
inherit inputs outputs;
|
||||||
machineConfig = {
|
machineConfig = {
|
||||||
inherit server system;
|
inherit server system;
|
||||||
};
|
};
|
||||||
|
@ -41,7 +41,7 @@ stdenv.mkDerivation {
|
|||||||
owner = "mattydebie";
|
owner = "mattydebie";
|
||||||
repo = "bitwarden-rofi";
|
repo = "bitwarden-rofi";
|
||||||
rev = "8be76fdd647c2bdee064e52603331d8e6ed5e8e2";
|
rev = "8be76fdd647c2bdee064e52603331d8e6ed5e8e2";
|
||||||
sha256 = "";
|
sha256 = "1h5d21kv8g5g725chn3n0i1frvmsrk3pm67lfxqcg50kympg0wwd";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ makeWrapper ];
|
buildInputs = [ makeWrapper ];
|
||||||
|
@ -1,11 +1,13 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, outputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacs29-pgtk;
|
package = pkgs.emacs29-pgtk;
|
||||||
};
|
};
|
||||||
home.packages = with pkgs; [
|
home.packages =
|
||||||
|
with pkgs;
|
||||||
|
[
|
||||||
cmake
|
cmake
|
||||||
shellcheck
|
shellcheck
|
||||||
glslang
|
glslang
|
||||||
@ -61,5 +63,7 @@
|
|||||||
bitwarden-cli
|
bitwarden-cli
|
||||||
bitwarden-menu
|
bitwarden-menu
|
||||||
wtype
|
wtype
|
||||||
];
|
|
||||||
|
]
|
||||||
|
++ [ outputs.packages.bitwarden-rofi ];
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user