dregil: Import cli.nix
This commit is contained in:
parent
525a4665e7
commit
6fe9ad8c6e
2 changed files with 40 additions and 54 deletions
|
|
@ -19,6 +19,9 @@ in {
|
||||||
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
sessionPath = [ "$HOME/.local/bin" "$HOME/.emacs.d/bin" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# do not show home-manager notifications
|
||||||
|
news.display = "silent";
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
# archives
|
# archives
|
||||||
#p7zip
|
#p7zip
|
||||||
|
|
@ -85,6 +88,8 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
programs = {
|
programs = {
|
||||||
|
bash = { enable = true; };
|
||||||
|
|
||||||
zsh = {
|
zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableAutosuggestions = true;
|
enableAutosuggestions = true;
|
||||||
|
|
@ -139,7 +144,8 @@ in {
|
||||||
|
|
||||||
password-store = {
|
password-store = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
# package = pkgs.pass.withExtensions (exts: [ exts.pass-otp ]);
|
||||||
|
package = pkgs.gopass;
|
||||||
settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; };
|
settings = { PASSWORD_STORE_DIR = "$HOME/.local/share/password-store"; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -4,67 +4,47 @@ let
|
||||||
pkgs = import nixpkgs-unstable {
|
pkgs = import nixpkgs-unstable {
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
overlays = [ ];
|
overlays = [ emacs.overlay ];
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
"alex@dregil" = home-manager-unstable.lib.homeManagerConfiguration {
|
"alex@dregil" = home-manager-unstable.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
modules = [{
|
modules = [
|
||||||
programs.home-manager.enable = true;
|
../../home/cli.nix
|
||||||
|
{
|
||||||
|
home = {
|
||||||
|
packages = with pkgs; [
|
||||||
|
alacritty # fast terminal
|
||||||
|
firefox # the browser with the fox
|
||||||
|
|
||||||
home = {
|
# social
|
||||||
username = "alex";
|
jitsi-meet-electron # jitsi as a stand-alone app
|
||||||
homeDirectory = "/home/alex";
|
discord # talk to other people
|
||||||
stateVersion = "22.11";
|
#inputs.simplex-chat.packages."x86_64-linux"."exe:simplex-chat"
|
||||||
packages = with pkgs; [
|
|
||||||
alacritty # fast terminal
|
|
||||||
firefox # the browser with the fox
|
|
||||||
|
|
||||||
# social
|
# editing
|
||||||
jitsi-meet-electron # jitsi as a stand-alone app
|
helix # vim like editor
|
||||||
discord # talk to other people
|
nil # nix language server
|
||||||
#inputs.simplex-chat.packages."x86_64-linux"."exe:simplex-chat"
|
|
||||||
|
|
||||||
# editing
|
# system tools
|
||||||
helix # vim like editor
|
htop-vim # htop with vim bindings
|
||||||
nil # nix language server
|
erdtree # du+tree had sex
|
||||||
|
dua # ncdu but better
|
||||||
|
bat # better cat
|
||||||
|
uhk-agent # my keyboard
|
||||||
|
mosh # ssh via udp
|
||||||
|
|
||||||
# system tools
|
# gaming support
|
||||||
htop-vim # htop with vim bindings
|
lutris
|
||||||
erdtree # du+tree had sex
|
];
|
||||||
dua # ncdu but better
|
};
|
||||||
bat # better cat
|
|
||||||
uhk-agent # my keyboard
|
|
||||||
mosh # ssh via udp
|
|
||||||
|
|
||||||
# gaming support
|
services.gpg-agent = {
|
||||||
lutris
|
enable = true;
|
||||||
];
|
enableSshSupport = true;
|
||||||
};
|
sshKeys = [ "9027AB16B9A7C20BD29F30F55CBA054430BF014C" ];
|
||||||
|
};
|
||||||
programs.bash = { enable = true; };
|
}
|
||||||
|
];
|
||||||
programs.zsh = { enable = true; };
|
|
||||||
|
|
||||||
programs.git = {
|
|
||||||
enable = true;
|
|
||||||
userName = "Alexander Kobjolke";
|
|
||||||
userEmail = "me@failco.de";
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.password-store = {
|
|
||||||
enable = true;
|
|
||||||
package = pkgs.gopass;
|
|
||||||
};
|
|
||||||
|
|
||||||
# do not show home-manager notifications
|
|
||||||
news.display = "silent";
|
|
||||||
|
|
||||||
services.gpg-agent = {
|
|
||||||
enable = true;
|
|
||||||
enableSshSupport = true;
|
|
||||||
sshKeys = [ "9027AB16B9A7C20BD29F30F55CBA054430BF014C" ];
|
|
||||||
};
|
|
||||||
}];
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue