nicks-nix-config/users/nicholix.nix

95 lines
2.2 KiB
Nix
Raw Normal View History

{ config, pkgs, ... }:
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-16 12:14:10 -08:00
local_user = "nicholix";
2022-10-08 15:40:33 -07:00
in
{
imports = [
2023-02-16 11:49:08 -08:00
../modules/emacs.nix
../modules/git.nix
../modules/fusuma.nix
../modules/vim.nix
../modules/wezterm.nix
../modules/xdg.nix
../modules/zsh.nix
];
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 = {
2023-02-16 17:25:48 -08:00
file = {
"awesome" = {
source = ../rsrcs/awesome;
target = "/home/nicholix/.config/awesome";
};
};
2022-10-08 15:40:33 -07:00
# Home Manager needs a bit of information about you and the
# paths it should manage.
2023-02-16 12:14:10 -08:00
username = local_user;
homeDirectory = "/home/${local_user}";
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.
stateVersion = "22.11";
2022-10-08 15:40:33 -07:00
packages = with pkgs; [
2022-10-11 09:28:10 -07:00
# utilities
ffmpeg-full
2022-10-12 20:29:52 -07:00
pandoc
2022-12-04 15:15:50 -08:00
fontpreview
texlive.combined.scheme-medium
2022-10-11 09:28:10 -07:00
# commandline utils
pfetch
2023-01-08 19:31:04 -08:00
fortune
2023-01-09 16:54:18 -08:00
rmtrash
2023-01-26 17:59:18 -08:00
ripgrep
fd
2022-11-08 19:20:43 -08:00
exa
xdotool
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
libreoffice # Office editing
2023-01-21 17:55:48 -08:00
qalculate-gtk # unit-friendly calculator
vscodium # when vim isn't enough
2022-12-03 12:08:39 -08: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
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 17:25:48 -08:00
xsession = {
enable = true;
windowManager.command = "none+awesome-wm";
};
2022-10-08 15:40:33 -07:00
}