feat: Added nh to macos

This commit is contained in:
uttarayan21
2025-05-28 16:14:02 +05:30
parent ca2702256c
commit 7c2748b517
9 changed files with 51 additions and 11 deletions

View File

@@ -3,7 +3,7 @@
pkgs,
...
}: {
imports = [./services ./homebrew.nix];
imports = [./services ./homebrew.nix ./programs];
# environment.systemPackages = with pkgs; [nix neovim];
nix = {

View File

@@ -0,0 +1,9 @@
{
pkgs,
lib,
...
}: {
imports = [
# ./nh.nix
];
}

View File

@@ -0,0 +1,8 @@
{...}: {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/Users/fs0c131y/.local/share/dotfiles";
};
}

View File

@@ -17,9 +17,9 @@
./git.nix
./goread.nix
./helix.nix
# ./ncmpcpp.nix
# ./neomutt.nix
./mpd.nix
./newsboat.nix
./nh.nix
./nix-index.nix
./nushell.nix
./sops.nix
@@ -28,11 +28,12 @@
./tmux.nix
./tuifeed.nix
./yazi.nix
# ./zellij.nix
./zoxide.nix
#./template.nix
./mpd.nix
./mpris-scrobbler.nix
# ./ncmpcpp.nix
# ./neomutt.nix
# ./zellij.nix
#./template.nix
];
home.packages = with pkgs;
[

View File

@@ -1,6 +1,6 @@
{pkgs, ...}: {
programs.newsboat = {
enable = true;
enable = false;
urls = [
{
title = "r/rust";

8
home/programs/nh.nix Normal file
View File

@@ -0,0 +1,8 @@
{...}: {
programs.nh = {
enable = true;
clean.enable = true;
clean.extraArgs = "--keep-since 4d --keep 3";
flake = "/Users/fs0c131y/.local/share/dotfiles";
};
}

View File

@@ -659,9 +659,6 @@ in {
end
},
rust = {
command = {"${pkgs.evcxr}/bin/evcxr"}
},
},
-- How the repl window will be displayed
-- See below for more information

View File

@@ -0,0 +1,17 @@
{...}: {
services = {
atticd = {
enable = false;
listen = "/run/attic.sock";
};
caddy = {
virtualHosts."cache.darksailor.dev".extraConfig = ''
reverse_proxy /run/attic.sock {
transport http {
protocol = "fd"
}
}
'';
};
};
}

View File

@@ -4,6 +4,6 @@
...
}: {
imports = [
./nh.nix
# ./nh.nix
];
}