Compare commits
5 commits
ce3d8226a7
...
28526185e4
| Author | SHA1 | Date | |
|---|---|---|---|
| 28526185e4 | |||
| 25112eeb70 | |||
| 326fcd2011 | |||
| 76ce0b002f | |||
| a911a95162 |
4 changed files with 47 additions and 24 deletions
|
|
@ -95,9 +95,6 @@
|
||||||
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";
|
||||||
};
|
};
|
||||||
|
|
@ -125,7 +122,6 @@
|
||||||
openssl
|
openssl
|
||||||
tree
|
tree
|
||||||
eza
|
eza
|
||||||
htop
|
|
||||||
zsh
|
zsh
|
||||||
dig #dns lookup
|
dig #dns lookup
|
||||||
rage #file encryption
|
rage #file encryption
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty.nix
|
./alacritty.nix
|
||||||
|
./rio.nix
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./git.nix
|
./git.nix
|
||||||
./ncspot.nix
|
./ncspot.nix
|
||||||
|
|
@ -22,6 +23,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.
|
||||||
|
|
@ -44,6 +46,10 @@
|
||||||
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
|
||||||
|
|
|
||||||
10
modules/home-manager/rio.nix
Normal file
10
modules/home-manager/rio.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
||||||
|
{ 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -1,26 +1,37 @@
|
||||||
{ 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 = {
|
|
||||||
path = "$ZDOTDIR/.zsh_history";
|
history = {
|
||||||
save = 10000000;
|
path = "$ZDOTDIR/.zsh_history";
|
||||||
};
|
save = 10000000;
|
||||||
autosuggestion.enable = lib.mkDefault true;
|
};
|
||||||
enableCompletion = lib.mkDefault true;
|
|
||||||
syntaxHighlighting.enable = lib.mkDefault true;
|
autosuggestion.enable = lib.mkDefault true;
|
||||||
shellAliases = {
|
enableCompletion = lib.mkDefault true;
|
||||||
ls = "eza -l";
|
syntaxHighlighting.enable = lib.mkDefault true;
|
||||||
lsa = "eza -al";
|
|
||||||
grep = "rg";
|
shellAliases = {
|
||||||
osrb = "sudo nixos-rebuild $1 --flake ~/code/nixos-config/#katana";
|
ls = "eza -l";
|
||||||
};
|
lsa = "eza -al";
|
||||||
localVariables = {
|
grep = "rg";
|
||||||
EDITOR="hx";
|
osrb = "sudo nixos-rebuild $1 --flake ~/code/nixos-config/#katana";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
localVariables = {
|
||||||
|
EDITOR = "nvim";
|
||||||
|
};
|
||||||
|
|
||||||
|
# This adds the atuin init line to your Zsh config
|
||||||
|
initContent = ''
|
||||||
|
eval "$(atuin init zsh)"
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue