Move ssh and yt-dlp to programs folder
This commit is contained in:
parent
b5b8b4530f
commit
4fd70b3527
5 changed files with 15 additions and 12 deletions
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
xdg.configFile.yt-dlp = {
|
||||
source = ./yt-dlp;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
5
home.nix
5
home.nix
|
@ -17,9 +17,9 @@
|
|||
|
||||
./programs/scripts.nix
|
||||
|
||||
./config/ssh.nix
|
||||
./programs/ssh.nix
|
||||
|
||||
./config/yt-dlp.nix
|
||||
./programs/yt-dlp.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
|
@ -56,7 +56,6 @@
|
|||
tokei
|
||||
wget
|
||||
xz
|
||||
yt-dlp
|
||||
];
|
||||
|
||||
activation = {
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
{ config, ... }:
|
||||
{ pkgs, config, ... }:
|
||||
|
||||
let
|
||||
auth-socket = "${config.home.homeDirectory}/.ssh/1password.sock";
|
||||
signers-directory = "${config.home.homeDirectory}/.ssh/allowed_signers";
|
||||
in
|
||||
{
|
||||
home.packages = [ pkgs.openssh ];
|
||||
|
||||
programs.ssh = {
|
||||
enable = true;
|
||||
|
|
@ -1,5 +1,3 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.starship = {
|
||||
enable = true;
|
||||
|
|
10
programs/yt-dlp.nix
Normal file
10
programs/yt-dlp.nix
Normal file
|
@ -0,0 +1,10 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = [ pkgs.yt-dlp ];
|
||||
|
||||
xdg.configFile.yt-dlp = {
|
||||
source = ../config/yt-dlp;
|
||||
recursive = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue