2024-04-21 21:15:02 -04:00
|
|
|
{ config, pkgs, inputs,... }:
|
2024-04-21 19:57:10 -04:00
|
|
|
|
2024-04-24 18:07:40 -04:00
|
|
|
# let
|
|
|
|
# uns = import <nixos-unstable> {
|
|
|
|
# config = {
|
|
|
|
# allowUnfree = true;
|
|
|
|
# };
|
|
|
|
# }; in
|
2024-04-21 19:57:10 -04:00
|
|
|
{
|
2024-04-24 19:33:33 -04:00
|
|
|
programs.zsh.enable = true;
|
2024-04-24 19:39:08 -04:00
|
|
|
programs.zsh.oh-my-zsh.enable = true;
|
2024-04-24 19:45:22 -04:00
|
|
|
programs.zsh.initExtra = "source ${pkgs.zsh-powerlevel10k}/share/zsh-powerlevel10k/powerlevel10k.zsh-theme" + "\n" + "source ${pkgs.zsh-syntax-highlighting}/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" + "\n" + "[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh";
|
2024-04-21 21:15:02 -04:00
|
|
|
nixpkgs.config.allowUnfreePredicate = (pkg: true);
|
2024-04-21 19:57:10 -04:00
|
|
|
# Home Manager needs a bit of information about you and the paths it should
|
2024-04-21 21:15:02 -04:00
|
|
|
# nixpkg.config.allowUnfree = true;
|
2024-04-21 19:57:10 -04:00
|
|
|
# manage.
|
|
|
|
home.username = "meyer";
|
|
|
|
home.homeDirectory = "/home/meyer";
|
|
|
|
# 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 should not change this value, even if you update Home Manager. If you do
|
|
|
|
# want to update the value, then make sure to first check the Home Manager
|
|
|
|
# release notes.
|
|
|
|
home.stateVersion = "23.11"; # Please read the comment before changing.
|
|
|
|
|
|
|
|
# The home.packages option allows you to install Nix packages into your
|
|
|
|
# environment.
|
2024-04-23 19:06:12 -04:00
|
|
|
home.packages = with pkgs;[
|
2024-04-23 21:55:50 -04:00
|
|
|
tokyo-night-gtk
|
2024-04-24 20:50:33 -04:00
|
|
|
linuxHeaders
|
2024-04-24 18:09:32 -04:00
|
|
|
#NODE
|
|
|
|
nodePackages.ts-node
|
2024-04-24 18:11:41 -04:00
|
|
|
nodePackages.prisma
|
2024-04-24 19:18:48 -04:00
|
|
|
prisma-engines
|
2024-04-24 18:11:41 -04:00
|
|
|
#ENDNODE
|
2024-04-23 20:15:38 -04:00
|
|
|
zsh-powerlevel10k
|
2024-04-23 20:43:10 -04:00
|
|
|
zsh-syntax-highlighting
|
2024-04-23 19:06:12 -04:00
|
|
|
hello
|
2024-04-23 21:28:11 -04:00
|
|
|
gh
|
2024-04-23 21:47:13 -04:00
|
|
|
prismlauncher
|
2024-04-23 19:56:22 -04:00
|
|
|
ksshaskpass
|
2024-04-23 21:59:54 -04:00
|
|
|
libsForQt5.kinit
|
2024-04-23 20:25:22 -04:00
|
|
|
fzf
|
2024-04-24 21:18:06 -04:00
|
|
|
#C AND CXX START
|
|
|
|
glib
|
|
|
|
glibc
|
|
|
|
#C AND CXX END
|
|
|
|
|
2024-04-24 20:38:34 -04:00
|
|
|
#PYTHONSTART
|
2024-04-24 20:41:06 -04:00
|
|
|
python311
|
|
|
|
python311Packages.evdev
|
|
|
|
python311Packages.xlib
|
2024-04-24 20:38:34 -04:00
|
|
|
#PYTHONEND
|
2024-04-23 19:06:12 -04:00
|
|
|
xsel
|
|
|
|
google-chrome
|
|
|
|
bitwarden
|
|
|
|
spotify
|
|
|
|
vscodium
|
|
|
|
vesktop
|
2024-04-24 18:07:40 -04:00
|
|
|
# uns.vesktop
|
2024-04-23 19:06:12 -04:00
|
|
|
kitty
|
2024-04-23 20:50:42 -04:00
|
|
|
rofi
|
2024-04-23 19:06:12 -04:00
|
|
|
go
|
|
|
|
php
|
|
|
|
nodejs_21
|
2024-04-21 21:17:32 -04:00
|
|
|
# pkgs.temurin-jre-bin-8
|
2024-04-23 19:06:12 -04:00
|
|
|
cargo
|
2024-04-23 20:34:02 -04:00
|
|
|
nerdfonts
|
2024-04-23 19:06:12 -04:00
|
|
|
lua
|
|
|
|
btop
|
|
|
|
unzip
|
|
|
|
temurin-bin-8
|
|
|
|
protonvpn-gui
|
2024-04-21 19:57:10 -04:00
|
|
|
# # It is sometimes useful to fine-tune packages, for example, by applying
|
2024-04-24 18:07:40 -04:00
|
|
|
typescript
|
2024-04-21 19:57:10 -04:00
|
|
|
# # overrides. You can do that directly here, just don't forget the
|
|
|
|
# # parentheses. Maybe you want to install Nerd Fonts with a limited number of
|
|
|
|
# # fonts?
|
|
|
|
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
|
|
|
|
|
|
|
|
# # You can also create simple shell scripts directly inside your
|
|
|
|
# # configuration. For example, this adds a command 'my-hello' to your
|
|
|
|
# # environment:
|
|
|
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
|
|
|
# echo "Hello, ${config.home.username}!"
|
|
|
|
# '')
|
|
|
|
];
|
|
|
|
|
|
|
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
|
|
|
# plain files is through 'home.file'.
|
|
|
|
home.file = {
|
2024-04-23 19:06:12 -04:00
|
|
|
kitty = {
|
2024-04-23 19:50:41 -04:00
|
|
|
recursive = true;
|
|
|
|
source = ../../dotfiles/kitty;
|
2024-04-23 19:06:12 -04:00
|
|
|
target = "./.config/kitty";
|
|
|
|
};
|
2024-04-23 21:31:59 -04:00
|
|
|
gh = {
|
|
|
|
recursive = true;
|
2024-04-23 21:38:41 -04:00
|
|
|
source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/nixos/dotfiles/gh";
|
2024-04-23 21:31:59 -04:00
|
|
|
target = "./.config/gh";
|
|
|
|
};
|
2024-04-23 19:06:12 -04:00
|
|
|
btop = {
|
2024-04-23 19:50:41 -04:00
|
|
|
recursive = true;
|
|
|
|
source = ../../dotfiles/btop;
|
2024-04-23 19:06:12 -04:00
|
|
|
target = "./.config/btop";
|
|
|
|
};
|
2024-04-23 17:22:06 -04:00
|
|
|
# "testconfigfile".source = ../../dotfiles/testconfigfile;
|
2024-04-23 19:06:12 -04:00
|
|
|
# ".gitconfig".source = ../../dotfiles/.gitconfig;
|
2024-04-21 19:57:10 -04:00
|
|
|
# # Building this configuration will create a copy of 'dotfiles/screenrc' in
|
|
|
|
# # the Nix store. Activating the configuration will then make '~/.screenrc' a
|
|
|
|
# # symlink to the Nix store copy.
|
|
|
|
# ".screenrc".source = dotfiles/screenrc;
|
|
|
|
|
|
|
|
# # You can also set the file content immediately.
|
|
|
|
# ".gradle/gradle.properties".text = ''
|
|
|
|
# org.gradle.console=verbose
|
|
|
|
# org.gradle.daemon.idletimeout=3600000
|
|
|
|
# '';
|
|
|
|
};
|
|
|
|
|
|
|
|
# Home Manager can also manage your environment variables through
|
|
|
|
# 'home.sessionVariables'. If you don't want to manage your shell through Home
|
|
|
|
# Manager then you have to manually source 'hm-session-vars.sh' located at
|
|
|
|
# either
|
|
|
|
#
|
|
|
|
# ~/.nix-profile/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
# or
|
|
|
|
#
|
|
|
|
# ~/.local/state/nix/profiles/profile/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
# or
|
|
|
|
#
|
|
|
|
# /etc/profiles/per-user/meyer/etc/profile.d/hm-session-vars.sh
|
|
|
|
#
|
|
|
|
home.sessionVariables = {
|
2024-04-23 16:44:44 -04:00
|
|
|
EDITOR = "nvim";
|
|
|
|
MANPAGER = "nvim +Man!";
|
|
|
|
MANWIDTH = "999";
|
2024-04-23 20:01:58 -04:00
|
|
|
SSH_ASKPASS_REQUIRE="prefer";
|
2024-04-24 20:23:31 -04:00
|
|
|
PRISMA_QUERY_ENGINE_BINARY="${pkgs.prisma-engines}/bin/query-engine";
|
2024-04-24 20:29:27 -04:00
|
|
|
PRISMA_SCHEMA_ENGINE_BINARY="${pkgs.prisma-engines}/bin/schema-engine";
|
2024-04-24 20:34:16 -04:00
|
|
|
PRISMA_QUERY_ENGINE_LIBRARY="${pkgs.prisma-engines}/lib/libquery_engine.node";
|
2024-04-21 19:57:10 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
# Let Home Manager install and manage itself.
|
|
|
|
programs.home-manager.enable = true;
|
|
|
|
}
|