nicks-nix-config/hosts/home.nix

82 lines
1.9 KiB
Nix
Raw Normal View History

2022-11-08 19:08:54 -08:00
{ config, pkgs, user, ... }:
2022-10-08 15:40:33 -07:00
let
editor = "vim";
2022-10-10 16:50:15 -07:00
moz_overlay = import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz);
nixpkgs = import <nixpkgs> {
overlays = [ moz_overlay ];
};
ruststable = (nixpkgs.latest.rustChannels.stable.rust.override {
extensions = [ "rust-src" "rust-analysis" ];}
);
2022-10-08 15:40:33 -07:00
in
{
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home = {
# Home Manager needs a bit of information about you and the
# paths it should manage.
username = user;
homeDirectory = "/home/${user}";
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards
# incompatible changes.
#
# You can update Home Manager without changing this value. See
# the Home Manager release notes for a list of state version
# changes in each release.
stateVersion = "22.05";
packages = with pkgs; [
2022-10-11 09:28:10 -07:00
# utilities
ffmpeg-full
frei0r # kdenlive video plugins
2022-10-12 20:29:52 -07:00
pandoc
2022-12-04 15:15:50 -08:00
fontpreview
2022-10-11 09:28:10 -07:00
# commandline utils
powerline
2022-10-08 15:40:33 -07:00
neofetch
ranger
2022-11-08 19:20:43 -08:00
exa
2022-11-26 11:43:14 -08:00
vhs
2022-10-08 15:40:33 -07:00
nodejs # required for coc-nvim
2022-10-10 16:50:15 -07:00
2022-12-03 12:08:39 -08:00
# Gui application
firefox # Internet access
obsidian # Markdown and notes
2022-12-05 18:20:10 -08:00
spotify # Music streaming
2022-12-03 12:08:39 -08:00
darktable # RAW processing
inkscape # Vector drawing
krita # Raster drawing
2022-10-11 09:28:10 -07:00
libsForQt5.kate # kate/kwrite
2022-10-12 20:29:52 -07:00
libsForQt5.ark # kde archive manager
2022-12-03 12:08:39 -08:00
# KWallet
2022-10-22 20:43:53 -07:00
libsForQt5.kwallet
libsForQt5.kwallet-pam
libsForQt5.kwalletmanager
2022-10-12 20:29:52 -07:00
# Kdenlive and deps
libsForQt5.kdenlive
mediainfo
mlt
2022-12-03 12:08:39 -08:00
# Drawing tablet driver
opentabletdriver
2022-10-08 15:40:33 -07:00
];
sessionVariables = {
EDITOR = editor;
2022-11-26 11:43:14 -08:00
NIX_SHELL_PRESERVE_PROMPT = 1;
2022-10-08 15:40:33 -07:00
};
};
2022-10-09 15:15:30 -07:00
2022-10-08 15:40:33 -07:00
}