ref: nixos config

This commit is contained in:
Léana 江 2023-12-25 21:39:46 +01:00 committed by Léana 江
parent ad31348634
commit 934c47c26a
10 changed files with 115 additions and 132 deletions

View file

@ -4,80 +4,16 @@
wired,
...
}: {
home.username = "leana";
home.homeDirectory = "/home/leana";
home.stateVersion = "23.11";
home.packages = with pkgs; [
# text/editors
helix
gnused
neovim
ripgrep
vim
tmux
# nix
nil
alejandra
# shell
fish
# (python39.withPackages (ps: with ps; [beautifulsoup4 requests]))
stow
fd
fzf
htop
starship
tree
vivid
rsync
# fancy utilities
figlet
macchina
ncdu
tldr
# git related
bat
delta
gnupg
git-lfs
(nerdfonts.override {
fonts = ["CascadiaCode" "JetBrainsMono" "Meslo"];
})
asciinema
cmus
cmusfm
hyperfine
tea
yt-dlp
watchexec
# jdk17
# rustup
# nodejs_20
unstable.typst
# # NOTE: doesn't work
# valgrind
# gdb
wired.wired
imports = [
./dev.nix
./gui.nix
];
# gtk = {
# enable = true;
# cursorTheme.package = pkgs.google-cursor;
# cursorTheme.name = "GoogleDot-Red";
# };
home = {
username = "leana";
homeDirectory = "/home/leana";
stateVersion = "23.11";
};
programs = {
home-manager.enable = true;
@ -87,4 +23,28 @@
nix-direnv.enable = true;
};
};
home.packages = with pkgs; [
# shell and script dependencies
fish
figlet
gnused
starship
stow
ripgrep
fd
fzf
vivid
# utils
htop
tree
rsync
tldr
unstable.typst
# music
cmus
cmusfm
];
}

27
nix/home/dev.nix Normal file
View file

@ -0,0 +1,27 @@
{pkgs, ...}: {
home.packages = with pkgs; [
# editors and utils
tmux
neovim
vim
hyperfine
watchexec
tea
# git
git
git-lfs
bat
delta
gnupg
nil
alejandra
# TODO: enable this when thinkpad is actually here
# (python39.withPackages (ps: with ps; [beautifulsoup4 requests]))
# jdk17
# rustup
# nodejs_20
];
}

16
nix/home/gui.nix Normal file
View file

@ -0,0 +1,16 @@
{pkgs, wired, ...}: {
home.packages = with pkgs; [
# Window Manager related
(nerdfonts.override {fonts = ["CascadiaCode" "JetBrainsMono" "Meslo"];})
dmenu
xmobar
scrot
xscreensaver
trayer
xclip
wired.wired
# GUI apps
# discord
];
}