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, pkgs,
... ...
}: { }: {
imports = [./services ./homebrew.nix]; imports = [./services ./homebrew.nix ./programs];
# environment.systemPackages = with pkgs; [nix neovim]; # environment.systemPackages = with pkgs; [nix neovim];
nix = { 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 ./git.nix
./goread.nix ./goread.nix
./helix.nix ./helix.nix
# ./ncmpcpp.nix ./mpd.nix
# ./neomutt.nix
./newsboat.nix ./newsboat.nix
./nh.nix
./nix-index.nix ./nix-index.nix
./nushell.nix ./nushell.nix
./sops.nix ./sops.nix
@@ -28,11 +28,12 @@
./tmux.nix ./tmux.nix
./tuifeed.nix ./tuifeed.nix
./yazi.nix ./yazi.nix
# ./zellij.nix
./zoxide.nix ./zoxide.nix
#./template.nix
./mpd.nix
./mpris-scrobbler.nix ./mpris-scrobbler.nix
# ./ncmpcpp.nix
# ./neomutt.nix
# ./zellij.nix
#./template.nix
]; ];
home.packages = with pkgs; home.packages = with pkgs;
[ [

View File

@@ -1,6 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.newsboat = { programs.newsboat = {
enable = true; enable = false;
urls = [ urls = [
{ {
title = "r/rust"; 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 end
}, },
rust = {
command = {"${pkgs.evcxr}/bin/evcxr"}
},
}, },
-- How the repl window will be displayed -- How the repl window will be displayed
-- See below for more information -- 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 = [ imports = [
./nh.nix # ./nh.nix
]; ];
} }