master
Elias Almqvist 2 months ago
parent d83cadad4f
commit 1fc09ed6b5
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 23
      nix-darwin/configuration.nix
  2. 35
      nix-darwin/home.nix

@ -4,30 +4,7 @@
# List packages installed in system profile. To search by name, run:
# $ nix-env -qaP | grep wget
environment.systemPackages = with pkgs; [
# Programs
slack
zathura
irssi
spotify
discord
gimp
vscode
gtkwave
gephi
# Utils
coreutils # *happy rms noises*
git
stow
curl
wget
ffmpeg
gnupg
jq
# tmux
htop
ripgrep
sshfs
];
# Necessary for using flakes on this system.

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
@ -41,6 +41,28 @@
# '')
# Programs
slack
zathura
irssi
spotify
discord
gimp
vscode
gtkwave
gephi
# Utils
coreutils # *happy rms noises*
stow
curl
wget
ffmpeg
gnupg
jq
# tmux
htop
ripgrep
sshfs
libqalculate
imagemagick
figlet
@ -143,6 +165,17 @@
LIBTORCH = "${pkgs.libtorch-bin}/lib";
};
# Link apps to ~/Applications/Nix
home.activation = {
linkApps = lib.hm.dag.entryAfter [ "checkLinkTargets" ] ''
mkdir -p ~/Applications/Nix
for app in ~/.nix-profile/Applications/*.app; do
ln -sf "$app" ~/Applications/Nix/
done
'';
};
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;

Loading…
Cancel
Save