add bitwarden-rofi

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2024-10-23 00:00:00 -04:00
parent 913ea98c12
commit 46b0f1c490
No known key found for this signature in database
GPG Key ID: 47940175096C1330
5 changed files with 74 additions and 58 deletions

View File

@ -153,7 +153,7 @@
hydraJobs = import ./hydra/jobs.nix { inherit inputs outputs systems; };
formatter = forEachSystem (system: nixpkgs.legacyPackages.${system}.nixfmt-rfc-style);
nixosConfigurations = genSystems inputs src (src + "/systems");
nixosConfigurations = genSystems inputs outputs src (src + "/systems");
images = {
install-iso = getImages nixosConfigurations "install-iso";
iso = getImages nixosConfigurations "iso";
@ -164,7 +164,7 @@
devShells = import ./shell.nix { inherit inputs forEachSystem checks; };
packages.bitwarden-rofi =
inputs.nixpkgs.legacyPackages.x86-64_linux.callPackage ./pkgs/bitwarden-rofi
inputs.nixpkgs.legacyPackages.x86_64-linux.callPackage ./pkgs/bitwarden-rofi
{ };
};
}

View File

@ -149,6 +149,7 @@ rec {
configPath,
hostname,
inputs,
outputs,
src,
users,
home ? true,
@ -160,7 +161,12 @@ rec {
lib.nixosSystem {
inherit system;
specialArgs = {
inherit inputs server system;
inherit
inputs
outputs
server
system
;
};
modules =
[
@ -194,7 +200,7 @@ rec {
# type:
# genSystems :: AttrSet -> Path -> Path -> AttrSet
genSystems =
inputs: src: path:
inputs: outputs: src: path:
builtins.listToAttrs (
map (
name:
@ -205,7 +211,12 @@ rec {
inherit name;
value = constructSystem (
{
inherit inputs src configPath;
inherit
inputs
outputs
src
configPath
;
hostname = name;
}
// import configPath { inherit inputs; }

View File

@ -1,6 +1,7 @@
{
lib,
inputs,
outputs,
server,
system,
...
@ -26,7 +27,7 @@
useUserPackages = true;
sharedModules = [ inputs.sops-nix.homeManagerModules.sops ];
extraSpecialArgs = {
inherit inputs;
inherit inputs outputs;
machineConfig = {
inherit server system;
};

View File

@ -41,7 +41,7 @@ stdenv.mkDerivation {
owner = "mattydebie";
repo = "bitwarden-rofi";
rev = "8be76fdd647c2bdee064e52603331d8e6ed5e8e2";
sha256 = "";
sha256 = "1h5d21kv8g5g725chn3n0i1frvmsrk3pm67lfxqcg50kympg0wwd";
};
buildInputs = [ makeWrapper ];

View File

@ -1,11 +1,13 @@
{ pkgs, ... }:
{ pkgs, outputs, ... }:
{
programs.emacs = {
enable = true;
package = pkgs.emacs29-pgtk;
};
home.packages = with pkgs; [
home.packages =
with pkgs;
[
cmake
shellcheck
glslang
@ -61,5 +63,7 @@
bitwarden-cli
bitwarden-menu
wtype
];
]
++ [ outputs.packages.bitwarden-rofi ];
}