Compare commits

..

No commits in common. "28526185e44f28dd8847d0876d1af316601ebc22" and "ce3d8226a76331752035a9617bf608c4b63377e1" have entirely different histories.

4 changed files with 24 additions and 47 deletions

View file

@ -95,6 +95,9 @@
nixpkgs = { nixpkgs = {
config = { config = {
allowUnfree = true; allowUnfree = true;
permittedInsecurePackages = [
"electron-25.9.0"
];
}; };
hostPlatform = lib.mkDefault "x86_64-linux"; hostPlatform = lib.mkDefault "x86_64-linux";
}; };
@ -122,6 +125,7 @@
openssl openssl
tree tree
eza eza
htop
zsh zsh
dig #dns lookup dig #dns lookup
rage #file encryption rage #file encryption

View file

@ -2,7 +2,6 @@
{ {
imports = [ imports = [
./alacritty.nix ./alacritty.nix
./rio.nix
./direnv.nix ./direnv.nix
./git.nix ./git.nix
./ncspot.nix ./ncspot.nix
@ -23,8 +22,7 @@
speccon18.hm.zellij.enable = false; speccon18.hm.zellij.enable = false;
speccon18.hm.zoxide.enable = false; speccon18.hm.zoxide.enable = false;
speccon18.hm.zsh.enable = true; speccon18.hm.zsh.enable = true;
speccon18.hm.rio.enable = false;
# Home Manager needs a bit of information about you and the paths it should # Home Manager needs a bit of information about you and the paths it should
# manage. # manage.
home = { home = {
@ -46,10 +44,6 @@
bitwarden bitwarden
gimp gimp
vlc vlc
atuin
#rio
#imgcat
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# pkgs.hello # pkgs.hello

View file

@ -1,10 +0,0 @@
{ config, lib, pkgs,... }:
{
options.speccon18.hm.rio.enable = lib.mkEnableOption "Enable Rio Term";
config = lib.mkIf config.speccon18.hm.rio.enable {
programs.rio= {
enable = true;
};
};
}

View file

@ -1,37 +1,26 @@
{ pkgs, config, lib, ... }: { pkgs, config, lib, ...}:
{ {
options.speccon18.hm.zsh.enable = lib.mkEnableOption "enables specs zsh config"; options.speccon18.hm.zsh.enable = lib.mkEnableOption "enables specs zsh config";
config = lib.mkIf config.speccon18.hm.zsh.enable { config = lib.mkIf config.speccon18.hm.zsh.enable {
programs.zsh = { programs.zsh = {
enable = lib.mkDefault true; enable = lib.mkDefault true;
dotDir = ".config/zsh"; dotDir = ".config/zsh";
history = {
history = { path = "$ZDOTDIR/.zsh_history";
path = "$ZDOTDIR/.zsh_history"; save = 10000000;
save = 10000000; };
}; autosuggestion.enable = lib.mkDefault true;
enableCompletion = lib.mkDefault true;
autosuggestion.enable = lib.mkDefault true; syntaxHighlighting.enable = lib.mkDefault true;
enableCompletion = lib.mkDefault true; shellAliases = {
syntaxHighlighting.enable = lib.mkDefault true; ls = "eza -l";
lsa = "eza -al";
shellAliases = { grep = "rg";
ls = "eza -l"; osrb = "sudo nixos-rebuild $1 --flake ~/code/nixos-config/#katana";
lsa = "eza -al"; };
grep = "rg"; localVariables = {
osrb = "sudo nixos-rebuild $1 --flake ~/code/nixos-config/#katana"; EDITOR="hx";
}; };
localVariables = {
EDITOR = "nvim";
};
# This adds the atuin init line to your Zsh config
initContent = ''
eval "$(atuin init zsh)"
'';
}; };
}; };
} }