feat: add personal tmp
This commit is contained in:
@@ -15,9 +15,14 @@
|
|||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
# 1050 passthrough
|
# 1050 passthrough
|
||||||
# boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ""
|
||||||
# options vfio-pci ids=10de:1c81,10de:0fb9
|
# + "options vfio-pci ids=10de:1c81,10de:0fb9\n"
|
||||||
# '';
|
+ ''
|
||||||
|
options hid_apple fnmode=2
|
||||||
|
'';
|
||||||
|
# hid_apple -> remove AK68 keyboard F1-F12 not pressing issue
|
||||||
|
|
||||||
|
boot.kernel.sysctl = { "hid_apple.fnmode" = 2; };
|
||||||
|
|
||||||
fileSystems."/" = {
|
fileSystems."/" = {
|
||||||
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
||||||
@@ -25,6 +30,12 @@
|
|||||||
options = [ "subvol=root" ];
|
options = [ "subvol=root" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
fileSystems."/x" = {
|
||||||
|
device = "tmpfs";
|
||||||
|
fsType = "tmpfs";
|
||||||
|
options = [ "size=8G" "mode=1777" ];
|
||||||
|
};
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
device = "/dev/disk/by-uuid/4e08142c-1b09-4265-a497-822e4a83d4c8";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
set -gx OPENSSL_LIB_DIR ${pkgs.openssl.out}/lib;
|
set -gx OPENSSL_LIB_DIR ${pkgs.openssl.out}/lib;
|
||||||
set -gx OPENSSL_INCLUDE_DIR ${pkgs.openssl.dev}/include;
|
set -gx OPENSSL_INCLUDE_DIR ${pkgs.openssl.dev}/include;
|
||||||
set -gx PKG_CONFIG_PATH ${pkgs.openssl.dev}/lib/pkgconfig;
|
set -gx PKG_CONFIG_PATH ${pkgs.openssl.dev}/lib/pkgconfig;
|
||||||
|
set -x NIX_DEV_SHELL_DEFAULT_SHELL (which fish)
|
||||||
alias v="nvim"
|
alias v="nvim"
|
||||||
alias c="clear"
|
alias c="clear"
|
||||||
alias rb="sudo nixos-rebuild switch --flake ~/nixos-config#"
|
alias rb="sudo nixos-rebuild switch --flake ~/nixos-config#"
|
||||||
@@ -27,6 +28,19 @@
|
|||||||
alias zxcv="shutdown now"
|
alias zxcv="shutdown now"
|
||||||
alias lg="lazygit"
|
alias lg="lazygit"
|
||||||
|
|
||||||
|
function mkcd
|
||||||
|
if test (count $argv) -eq 0
|
||||||
|
echo "Usage: mkcd <directory>"
|
||||||
|
return 1
|
||||||
|
end
|
||||||
|
|
||||||
|
mkdir -p $argv[1]
|
||||||
|
and cd $argv[1]
|
||||||
|
end
|
||||||
|
|
||||||
|
funcsave mkcd
|
||||||
|
|
||||||
|
|
||||||
if test -f $HOME/.config/fish/kube.fish
|
if test -f $HOME/.config/fish/kube.fish
|
||||||
source $HOME/.config/fish/kube.fish
|
source $HOME/.config/fish/kube.fish
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user