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
|
./programs/scripts.nix
|
||||||
|
|
||||||
./config/ssh.nix
|
./programs/ssh.nix
|
||||||
|
|
||||||
./config/yt-dlp.nix
|
./programs/yt-dlp.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
@ -56,7 +56,6 @@
|
||||||
tokei
|
tokei
|
||||||
wget
|
wget
|
||||||
xz
|
xz
|
||||||
yt-dlp
|
|
||||||
];
|
];
|
||||||
|
|
||||||
activation = {
|
activation = {
|
||||||
|
|
|
@ -1,10 +1,12 @@
|
||||||
{ config, ... }:
|
{ pkgs, config, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
auth-socket = "${config.home.homeDirectory}/.ssh/1password.sock";
|
auth-socket = "${config.home.homeDirectory}/.ssh/1password.sock";
|
||||||
signers-directory = "${config.home.homeDirectory}/.ssh/allowed_signers";
|
signers-directory = "${config.home.homeDirectory}/.ssh/allowed_signers";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
home.packages = [ pkgs.openssh ];
|
||||||
|
|
||||||
programs.ssh = {
|
programs.ssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
{ pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.starship = {
|
programs.starship = {
|
||||||
enable = true;
|
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