2023-07-29 12:48:45 -07:00
|
|
|
{ inputs, config, pkgs, user, ... }:
|
2022-10-08 15:40:33 -07:00
|
|
|
|
|
|
|
let
|
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" ];}
|
|
|
|
);
|
2023-02-18 08:53:06 -08:00
|
|
|
|
|
|
|
awesome-wm-widgets = pkgs.fetchFromGitHub {
|
|
|
|
owner = "streetturtle";
|
|
|
|
repo = "awesome-wm-widgets";
|
|
|
|
rev = "ef70d16c43c2f566a4fe2955b8d6c08f6c185af8";
|
|
|
|
sha256 = "td9uE+b3DrE+JJ3NCmIkQAuxJLJCGd79J5LZLqBw9KI=";
|
|
|
|
};
|
2022-10-08 15:40:33 -07:00
|
|
|
in
|
|
|
|
{
|
2023-02-16 11:47:00 -08:00
|
|
|
|
2023-03-19 19:14:16 -07:00
|
|
|
imports = [
|
|
|
|
../modules/discord.nix
|
2023-02-16 11:49:08 -08:00
|
|
|
../modules/emacs.nix
|
|
|
|
../modules/fusuma.nix
|
2023-02-18 16:45:08 -08:00
|
|
|
../modules/git.nix
|
|
|
|
../modules/rofi.nix
|
2023-07-29 12:48:45 -07:00
|
|
|
../modules/neovim.nix
|
2023-02-16 11:49:08 -08:00
|
|
|
../modules/wezterm.nix
|
|
|
|
../modules/xdg.nix
|
|
|
|
../modules/zsh.nix
|
2023-02-16 11:47:00 -08:00
|
|
|
];
|
2023-02-18 08:53:06 -08:00
|
|
|
|
|
|
|
home.file = {
|
|
|
|
".config/awesome" = {
|
|
|
|
source = ../rsrcs/awesome;
|
|
|
|
recursive = true;
|
|
|
|
};
|
|
|
|
".config/awesome/cpu-widget.lua".source = "${awesome-wm-widgets}/cpu-widget/cpu-widget.lua";
|
|
|
|
".config/awesome/ram-widget.lua".source = "${awesome-wm-widgets}/ram-widget/ram-widget.lua";
|
|
|
|
".config/awesome/batteryarc.lua".source = "${awesome-wm-widgets}/batteryarc-widget/batteryarc.lua";
|
|
|
|
".config/awesome/awesome-wm-widgets/spaceman.jpg".source = "${awesome-wm-widgets}/batteryarc-widget/spaceman.jpg";
|
|
|
|
".config/awesome/calendar.lua".source = "${awesome-wm-widgets}/calendar-widget/batteryarc.lua";
|
|
|
|
};
|
|
|
|
|
2023-07-15 12:20:47 -07:00
|
|
|
|
2022-10-08 15:40:33 -07:00
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
|
2022-12-09 14:02:37 -08:00
|
|
|
|
|
|
|
programs.direnv.enable = true;
|
|
|
|
programs.direnv.nix-direnv.enable = true;
|
|
|
|
|
2022-10-08 15:40:33 -07:00
|
|
|
home = {
|
|
|
|
# Home Manager needs a bit of information about you and the
|
|
|
|
# paths it should manage.
|
|
|
|
username = user;
|
|
|
|
homeDirectory = "/home/${user}";
|
|
|
|
|
2023-07-21 20:20:14 -07:00
|
|
|
sessionVariables = {
|
|
|
|
CARGO_TARGET_DIR = "$HOME/.target/";
|
|
|
|
};
|
|
|
|
|
|
|
|
|
2022-10-08 15:40:33 -07:00
|
|
|
# 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.
|
2023-01-14 14:00:19 -08:00
|
|
|
stateVersion = "22.11";
|
2022-10-08 15:40:33 -07:00
|
|
|
|
|
|
|
packages = with pkgs; [
|
2023-07-15 12:20:47 -07:00
|
|
|
# (pkgs.callPackage ./../modules/minecraft-bedrock/minecraft-bedrock-server.nix {}) # the possible minecraft-bedrock-server package for testing
|
2022-10-11 09:28:10 -07:00
|
|
|
# utilities
|
2023-02-25 15:41:14 -08:00
|
|
|
bat # cat with wings (better cat)
|
|
|
|
du-dust # directory disk-space analyzer
|
2023-03-17 15:33:07 -07:00
|
|
|
ffmpeg-full # ffmpeg for video/audio rendering
|
2022-10-11 09:28:10 -07:00
|
|
|
frei0r # kdenlive video plugins
|
2023-07-25 13:31:22 -07:00
|
|
|
flameshot # screenshot utility
|
2023-03-17 15:33:07 -07:00
|
|
|
fontpreview # utility to preview fonts
|
2023-02-25 15:41:14 -08:00
|
|
|
gitui # command line git tui
|
2023-03-17 15:33:07 -07:00
|
|
|
pandoc # utility for converting between document types
|
|
|
|
qmk # QMK utility for compiling qmk firmware
|
2023-04-08 11:06:44 -07:00
|
|
|
nextcloud-client # Nextcloud private syncing
|
2023-01-27 12:46:41 -08:00
|
|
|
|
|
|
|
texlive.combined.scheme-medium
|
2022-10-11 09:28:10 -07:00
|
|
|
|
|
|
|
# commandline utils
|
2023-07-15 12:20:47 -07:00
|
|
|
exa
|
2023-01-27 12:46:41 -08:00
|
|
|
fd
|
2023-07-15 12:20:47 -07:00
|
|
|
fortune
|
2023-01-08 19:31:04 -08:00
|
|
|
neofetch
|
2023-07-15 12:20:47 -07:00
|
|
|
pfetch
|
2022-10-08 15:40:33 -07:00
|
|
|
ranger
|
2023-07-15 12:20:47 -07:00
|
|
|
ripgrep
|
|
|
|
rmtrash
|
|
|
|
testdisk # file recovery https://itsfoss.com/recover-deleted-files-linux/
|
2023-01-27 12:46:41 -08:00
|
|
|
xdotool
|
2022-11-26 11:43:14 -08:00
|
|
|
vhs
|
2022-10-08 15:40:33 -07:00
|
|
|
|
2022-10-09 21:31:30 -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
|
|
|
|
darktable # RAW processing
|
2023-04-26 17:55:01 -07:00
|
|
|
dbeaver # SQL management tool
|
2023-01-28 08:50:53 -08:00
|
|
|
firefox # Internet access
|
2023-04-15 18:43:34 -07:00
|
|
|
handbrake # dvd ripping
|
2022-12-03 12:08:39 -08:00
|
|
|
inkscape # Vector drawing
|
2023-01-28 08:50:53 -08:00
|
|
|
kicad # PCB design
|
2022-12-03 12:08:39 -08:00
|
|
|
krita # Raster drawing
|
2023-07-27 16:32:02 -07:00
|
|
|
libreoffice-fresh # Office editing
|
2023-04-15 18:43:34 -07:00
|
|
|
makemkv # blue-ray + dvd -> mkv
|
2023-01-28 08:50:53 -08:00
|
|
|
obsidian # Markdown and notes
|
2023-01-21 17:55:48 -08:00
|
|
|
qalculate-gtk # unit-friendly calculator
|
2023-03-17 15:33:07 -07:00
|
|
|
vscodium # when vim and emacs (somehow) isn't enough
|
2023-03-19 19:14:16 -07:00
|
|
|
dragon # simple audio player
|
2023-04-08 11:03:43 -07:00
|
|
|
obs-studio # for video recording and virtual camera
|
2023-03-19 19:14:16 -07:00
|
|
|
|
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
|
2023-03-19 19:14:16 -07:00
|
|
|
libsForQt5.kio # extra file-type click support
|
|
|
|
libsForQt5.kio-extras # even more extra file-type click support
|
|
|
|
libsForQt5.soundkonverter # audio cd ripping
|
2022-12-03 12:08:39 -08:00
|
|
|
|
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 = {
|
2022-11-26 11:43:14 -08:00
|
|
|
NIX_SHELL_PRESERVE_PROMPT = 1;
|
2022-10-08 15:40:33 -07:00
|
|
|
};
|
|
|
|
};
|
2023-02-16 13:00:22 -08:00
|
|
|
|
2022-10-08 15:40:33 -07:00
|
|
|
}
|