add hastebin cli home module
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -400,11 +400,11 @@
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1739261575,
|
||||
"narHash": "sha256-MRU+at2TEZ61G1bXJeVYIswJ8mVIaqVmXrKLBNs0lvU=",
|
||||
"lastModified": 1740049565,
|
||||
"narHash": "sha256-na1sifwetlnyx4eYiltRrDthcFXOMZSa0SZug7PkIQY=",
|
||||
"owner": "~repomaa",
|
||||
"repo": "hastebin",
|
||||
"rev": "0400c9d3fcfe77dd4bd087c3f1f5ce06a8f29ad9",
|
||||
"rev": "af433352560f6fdee38e782563dd49e83c9e17e7",
|
||||
"type": "sourcehut"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
{ config, lib, pkgs, inputs, self, ... }: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
imports = [ ../gnome ../custom-programs ./neovim ./dnote.nix ];
|
||||
imports = [
|
||||
../gnome
|
||||
../custom-programs
|
||||
./neovim
|
||||
./dnote.nix
|
||||
inputs.hastebin.nixosModules.hm
|
||||
];
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
@@ -64,6 +70,7 @@
|
||||
imapsync
|
||||
nixfmt-rfc-style
|
||||
tree
|
||||
virt-manager
|
||||
];
|
||||
|
||||
programs = {
|
||||
@@ -285,6 +292,14 @@
|
||||
fork = true;
|
||||
};
|
||||
};
|
||||
hastebin = {
|
||||
enable = true;
|
||||
settings = {
|
||||
host = "https://bin.freun.dev";
|
||||
auth_token_file = "${config.xdg.configHome}/hastebin/auth_token";
|
||||
clipboard_command = "${pkgs.wl-copy-both}/bin/wl-copy";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
gnome = {
|
||||
|
||||
Reference in New Issue
Block a user