Reorganize for zfs
This commit is contained in:
parent
2933964680
commit
cfb48de40c
57 changed files with 817 additions and 492 deletions
14
overlays/default.nix
Normal file
14
overlays/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
let
|
||||
overlays = [
|
||||
(import ./pass.nix)
|
||||
(import ./ssh.nix)
|
||||
];
|
||||
in
|
||||
{
|
||||
nixpkgs.overlays = overlays;
|
||||
|
||||
home-manager.users.charlotte = { pkgs, ... }: {
|
||||
nixpkgs.overlays = overlays;
|
||||
};
|
||||
}
|
4
overlays/pass.nix
Normal file
4
overlays/pass.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
self: super: {
|
||||
firefox = super.firefox.override { extraNativeMessagingHosts = [ self.passff-host ]; };
|
||||
pass = (super.pass-wayland.override { pass = super.pass-wayland; }).withExtensions (ext: [ ext.pass-otp ]);
|
||||
}
|
16
overlays/ssh.nix
Normal file
16
overlays/ssh.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
self: super: {
|
||||
ssh = self.symlinkJoin {
|
||||
name = "openssh";
|
||||
paths = [
|
||||
(
|
||||
self.writeScriptBin "ssh" ''
|
||||
#!${self.zsh}/bin/zsh
|
||||
|
||||
export TERM=xterm-256color
|
||||
${super.openssh}/bin/ssh $@
|
||||
''
|
||||
)
|
||||
super.openssh
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue