feat: Added nh to macos
This commit is contained in:
@@ -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 = {
|
||||||
|
|||||||
9
darwin/kuro/programs/default.nix
Normal file
9
darwin/kuro/programs/default.nix
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
imports = [
|
||||||
|
# ./nh.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
8
darwin/kuro/programs/nh.nix
Normal file
8
darwin/kuro/programs/nh.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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;
|
||||||
[
|
[
|
||||||
|
|||||||
@@ -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
8
home/programs/nh.nix
Normal 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";
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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
|
||||||
|
|||||||
17
nixos/mirai/services/attic.nix
Normal file
17
nixos/mirai/services/attic.nix
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -4,6 +4,6 @@
|
|||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./nh.nix
|
# ./nh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user