mirror of
https://github.com/deltathetawastaken/dotfiles.git
synced 2025-12-06 07:16:37 +03:00
small fixes
This commit is contained in:
parent
069d8aad89
commit
45f355646b
|
|
@ -69,7 +69,7 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot";
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelPackages = unstable.linuxPackages_zen;
|
||||
boot.kernelPackages = unstable.linuxPackages_xanmod_latest;
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ acpi_call cpupower ];
|
||||
|
||||
fileSystems."/" = {
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, inputs, ... }:
|
||||
{
|
||||
users.users.delta.packages = [
|
||||
(pkgs.writeScriptBin "warp-cli" "${pkgs.cloudflare-warp}/bin/warp-cli $@")
|
||||
];
|
||||
# users.users.delta.packages = [
|
||||
# (pkgs.writeScriptBin "warp-cli" "${pkgs.cloudflare-warp}/bin/warp-cli $@")
|
||||
# ];
|
||||
|
||||
# systemd.services.cloudflare-warp = {
|
||||
# enable = true;
|
||||
|
|
|
|||
|
|
@ -174,7 +174,6 @@
|
|||
nufraw-thumbnailer
|
||||
|
||||
android-tools
|
||||
firefox
|
||||
tor-browser
|
||||
#inputs.anyrun.packages.${pkgs.system}.anyrun
|
||||
sops
|
||||
|
|
|
|||
|
|
@ -123,19 +123,33 @@ in {
|
|||
tre = "${pkgs.eza}/bin/exa --tree";
|
||||
itree = "${pkgs.eza}/bin/exa --icons --tree";
|
||||
search = "nix-search -d -m 5 -p";
|
||||
unpack = "aunpack";
|
||||
unpack = "aunpack"; unzip = "aunpack";
|
||||
where = "which";
|
||||
c = "cd";
|
||||
",s" = ", -s";
|
||||
};
|
||||
promptInit = ''
|
||||
set TERM "xterm-256color"
|
||||
# set TERM "xterm-256color"
|
||||
set fish_greeting
|
||||
export STARSHIP_CONFIG=/etc/starship.toml
|
||||
${pkgs.zoxide}/bin/zoxide init fish | source
|
||||
source (${pkgs.starship}/bin/starship init fish --print-full-init | psub)
|
||||
any-nix-shell fish --info-right | source
|
||||
'';
|
||||
interactiveShellInit = ''
|
||||
bind \cq 'fg; commandline -f execute'
|
||||
|
||||
function edit_command_in_editor
|
||||
set -l temp_file (mktemp)
|
||||
commandline > $temp_file
|
||||
$EDITOR $temp_file
|
||||
commandline (cat $temp_file)
|
||||
rm $temp_file
|
||||
end #oops Alt+e does the same by default
|
||||
|
||||
# Bind the function to Ctrl+E
|
||||
bind \cs 'edit_command_in_editor'
|
||||
'';
|
||||
};
|
||||
|
||||
programs.tmux.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,13 +1,9 @@
|
|||
{ config, pkgs, inputs, self,... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware.nix
|
||||
./nginx-work.nix
|
||||
inputs.secrets.nixosModules.intelnuc
|
||||
];
|
||||
{ config, pkgs, inputs, self, ... }: {
|
||||
imports =
|
||||
[ ./hardware.nix ./nginx-work.nix inputs.secrets.nixosModules.intelnuc ];
|
||||
|
||||
system.autoUpgrade = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
flake = "github:deltathetawastaken/dotfiles";
|
||||
dates = "daily";
|
||||
};
|
||||
|
|
@ -37,9 +33,7 @@
|
|||
|
||||
programs.adb.enable = true;
|
||||
|
||||
services.udev.packages = [
|
||||
pkgs.android-udev-rules
|
||||
];
|
||||
services.udev.packages = [ pkgs.android-udev-rules ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
|
|
@ -48,7 +42,9 @@
|
|||
htop
|
||||
zenith
|
||||
xorg.xauth
|
||||
docker docker-compose traefik
|
||||
docker
|
||||
docker-compose
|
||||
traefik
|
||||
lazydocker
|
||||
android-tools
|
||||
];
|
||||
|
|
@ -82,11 +78,7 @@
|
|||
Type = "simple";
|
||||
};
|
||||
script = "/home/delta/scripts/vpn-connect-WB";
|
||||
path = with pkgs; [
|
||||
expect
|
||||
oath-toolkit
|
||||
openconnect
|
||||
];
|
||||
path = with pkgs; [ expect oath-toolkit openconnect ];
|
||||
};
|
||||
|
||||
services.forgejo = {
|
||||
|
|
@ -100,9 +92,7 @@
|
|||
ROOT_URL = "https://${inputs.secrets.hosts.intelnuc.forgejo.domain}";
|
||||
};
|
||||
};
|
||||
database = {
|
||||
type = "sqlite3";
|
||||
};
|
||||
database = { type = "sqlite3"; };
|
||||
};
|
||||
|
||||
services.cloudflared.enable = true;
|
||||
|
|
|
|||
|
|
@ -31,6 +31,8 @@ in {
|
|||
#];
|
||||
|
||||
users.users.delta.packages = (with pkgs; [
|
||||
alejandra
|
||||
pre-commit
|
||||
gitleaks
|
||||
git
|
||||
#chromium
|
||||
|
|
@ -301,6 +303,14 @@ in {
|
|||
echo "$word_before_value(seq $from_value $to_value)"
|
||||
end
|
||||
abbr --add range_expand_abbr --position anywhere --regex "\w*\{\d+\.\.\d+\}" --function range_expansion
|
||||
|
||||
function copy_command_to_clipboard
|
||||
set -l current_command (commandline -b | string trim)
|
||||
printf "%s" $current_command | wl-copy
|
||||
end
|
||||
|
||||
# Bind the function to Alt+R
|
||||
bind \er copy_command_to_clipboard
|
||||
'';
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue