add hastebin cli home module
This commit is contained in:
6
flake.lock
generated
6
flake.lock
generated
@@ -400,11 +400,11 @@
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739261575,
|
"lastModified": 1740049565,
|
||||||
"narHash": "sha256-MRU+at2TEZ61G1bXJeVYIswJ8mVIaqVmXrKLBNs0lvU=",
|
"narHash": "sha256-na1sifwetlnyx4eYiltRrDthcFXOMZSa0SZug7PkIQY=",
|
||||||
"owner": "~repomaa",
|
"owner": "~repomaa",
|
||||||
"repo": "hastebin",
|
"repo": "hastebin",
|
||||||
"rev": "0400c9d3fcfe77dd4bd087c3f1f5ce06a8f29ad9",
|
"rev": "af433352560f6fdee38e782563dd49e83c9e17e7",
|
||||||
"type": "sourcehut"
|
"type": "sourcehut"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|||||||
@@ -1,6 +1,12 @@
|
|||||||
{ config, lib, pkgs, inputs, self, ... }: {
|
{ config, lib, pkgs, inputs, self, ... }: {
|
||||||
nixpkgs.config.allowUnfree = true;
|
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
|
# This value determines the Home Manager release that your configuration is
|
||||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||||
@@ -64,6 +70,7 @@
|
|||||||
imapsync
|
imapsync
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
tree
|
tree
|
||||||
|
virt-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
@@ -285,6 +292,14 @@
|
|||||||
fork = true;
|
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 = {
|
gnome = {
|
||||||
|
|||||||
Reference in New Issue
Block a user