Add timberhearth stuff

This commit is contained in:
Leonora Tindall 2024-08-20 16:12:14 -05:00
parent fd45ab57c7
commit da6b9ae253
2 changed files with 92 additions and 0 deletions

23
packages-min.nix Normal file
View File

@ -0,0 +1,23 @@
{ config, pkgs, ... }:
{
home.packages = with pkgs; [
tor-browser
htop
wget
ripgrep
bat
monolith
fd
freshfetch
neofetch
dfc
yt-dlp
(pkgs.callPackage ./custom/fortune-kind-custom.nix {})
jujutsu
fend
timg
graphviz
nix-output-monitor
npins
];
}

69
timberhearth.nix Normal file
View File

@ -0,0 +1,69 @@
{ config, pkgs, lib, ... }:
let inherit (lib) hm;
in
{
imports = [
./vim.nix
./git.nix
./zsh.nix
./atuin.nix
./starship.nix
./ssh.nix
./eza.nix
./jq.nix
./tmux.nix
./direnv.nix
./syncthing.nix
./fzf.nix
./packages-min.nix
];
# Home Manager is pretty good at managing dotfiles. The primary way to manage
# plain files is through 'home.file'.
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
# # symlink to the Nix store copy.
# ".screenrc".source = dotfiles/screenrc;
# # You can also set the file content immediately.
# ".gradle/gradle.properties".text = ''
# org.gradle.console=verbose
# org.gradle.daemon.idletimeout=3600000
# '';
};
xdg.systemDirs.data = [
"/var/lib/flatpak/exports/share"
"/home/nora/.local/share/flatpak/exports/share"
];
# env vars
home.sessionVariables = {};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Basic information
home.username = "nora";
home.homeDirectory = "/home/nora";
home.stateVersion = "23.11";
# Because we're on Debian
targets.genericLinux.enable = true;
# Because we're on KDE; this refreshes the icon cache and .desktop file cache
home.activation.updateKdeIconCache = hm.dag.entryAfter [ "installPackages" ] ''
run /usr/bin/kbuildsycoca5 --noincremental
run /bin/sudo /bin/apt install --reinstall -y konsole
'';
# Because I want Firefox
nixpkgs.config.allowUnfree = true;
# Because I have to use flakes, barf
nix = {
package = pkgs.nix;
settings.experimental-features = [ "nix-command" "flakes" ];
};
}