packaged gck
This commit is contained in:
parent
2e866a0bef
commit
2aa6e85a57
3 changed files with 30 additions and 18 deletions
23
home/git-credential-keepassxc.nix
Normal file
23
home/git-credential-keepassxc.nix
Normal file
|
@ -0,0 +1,23 @@
|
|||
{ lib, fetchFromGitHub, rustPlatform }:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "git-credential-keepassxc";
|
||||
version = "0.10.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "frederick888";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-BmjGxDqX8j/69Uo8jjWtcJcxNHxI7S5+eZQMApdybq0=";
|
||||
};
|
||||
|
||||
cargoSha256 = "sha256-gXW08plJRE1Q6W+Dc2y+gu2R+KBRs3fBG1umdawDduA=";
|
||||
|
||||
meta = with lib; {
|
||||
description = "";
|
||||
homepage = "https://github.com/frederick888/git-credential-keepassxc";
|
||||
license = licenses.gpl3Only;
|
||||
maintainers = [ "all me baby" ];
|
||||
};
|
||||
|
||||
}
|
|
@ -46,6 +46,8 @@
|
|||
|
||||
plasma-browser-integration
|
||||
|
||||
# (callPackage /home/fossil/Code/git-credential-keepassxc/default.nix {})
|
||||
|
||||
];
|
||||
|
||||
gtk = {
|
||||
|
@ -73,7 +75,7 @@
|
|||
sidebery
|
||||
plasma-integration
|
||||
keepassxc-browser
|
||||
arc-dark-theme-we
|
||||
# arc-dark-theme-we
|
||||
];
|
||||
profiles.default = {
|
||||
id = 0;
|
||||
|
@ -110,6 +112,9 @@
|
|||
enable = true;
|
||||
userName = "atagen";
|
||||
userEmail = "atagen@boss.co";
|
||||
extraConfig = {
|
||||
credential.helper = "git-credential-keepassxc";
|
||||
};
|
||||
};
|
||||
|
||||
programs.zoxide = {
|
||||
|
|
|
@ -37,23 +37,8 @@
|
|||
|
||||
networking.networkmanager.enable = true; # Easiest to use and most distros use this by default.
|
||||
|
||||
# timezone only needs setting so localtimed has something to work off
|
||||
# services.geoclue2.enable = true;
|
||||
time.timeZone = "Australia/Sydney";
|
||||
time.hardwareClockInLocalTime = true;
|
||||
# services.chrony = {
|
||||
# enable = true;
|
||||
# enableNTS = true;
|
||||
# };
|
||||
# services.localtimed.enable = true;
|
||||
networking.timeServers = [
|
||||
"0.au.pool.ntp.org"
|
||||
"1.au.pool.ntp.org"
|
||||
"2.au.pool.ntp.org"
|
||||
"3.au.pool.ntp.org"
|
||||
"pool.ntp.org"
|
||||
];
|
||||
|
||||
|
||||
# Select internationalisation properties.
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
@ -105,8 +90,6 @@
|
|||
(import "${fetchTarball "https://github.com/nix-community/fenix/archive/main.tar.gz"}/overlay.nix")
|
||||
];
|
||||
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
rust-analyzer-nightly
|
||||
|
@ -133,6 +116,7 @@
|
|||
git
|
||||
|
||||
zsh
|
||||
|
||||
];
|
||||
|
||||
system.stateVersion = "22.05"; # Did you read the comment?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue