add hastebin cli home module
This commit is contained in:
@@ -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