1
0
Fork 0

Move ssh and yt-dlp to programs folder

This commit is contained in:
Daniel Kempkens 2022-04-14 20:25:49 +02:00
parent b5b8b4530f
commit 4fd70b3527
5 changed files with 15 additions and 12 deletions

View file

@ -1,6 +0,0 @@
{
xdg.configFile.yt-dlp = {
source = ./yt-dlp;
recursive = true;
};
}

View file

@ -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 = {

View file

@ -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;

View file

@ -1,5 +1,3 @@
{ pkgs, ... }:
{
programs.starship = {
enable = true;

10
programs/yt-dlp.nix Normal file
View file

@ -0,0 +1,10 @@
{ pkgs, ... }:
{
home.packages = [ pkgs.yt-dlp ];
xdg.configFile.yt-dlp = {
source = ../config/yt-dlp;
recursive = true;
};
}