todo and configs
This commit is contained in:
parent
ac926b4011
commit
acae27684e
8 changed files with 37 additions and 28 deletions
|
|
@ -4,9 +4,10 @@
|
||||||
...
|
...
|
||||||
}: {
|
}: {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
lua-language-server
|
||||||
# freecad
|
# freecad
|
||||||
# vulkan-loader
|
# vulkan-loader
|
||||||
etcher
|
# etcher
|
||||||
hyperfine
|
hyperfine
|
||||||
jq
|
jq
|
||||||
just
|
just
|
||||||
|
|
@ -57,10 +58,10 @@
|
||||||
trunk
|
trunk
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
# nixpkgs.config.permittedInsecurePackages = [
|
||||||
# etcher
|
# # etcher
|
||||||
"electron-19.1.9"
|
# "electron-19.1.9"
|
||||||
];
|
# ];
|
||||||
|
|
||||||
services.udev.extraRules = ''
|
services.udev.extraRules = ''
|
||||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||||
|
|
|
||||||
|
|
@ -29,9 +29,9 @@
|
||||||
# wayland chromium workaround
|
# wayland chromium workaround
|
||||||
NIXOS_OZONE_WL = "1";
|
NIXOS_OZONE_WL = "1";
|
||||||
|
|
||||||
# # firefox nvidia-vaapi-driver
|
# firefox nvidia-vaapi-driver
|
||||||
# # MOZ_DISABLE_RDD_SANDBOX = "1";
|
# MOZ_DISABLE_RDD_SANDBOX = "1";
|
||||||
# # LIBVA_DRIVER_NAME = "nvidia";
|
# LIBVA_DRIVER_NAME = "nvidia";
|
||||||
};
|
};
|
||||||
|
|
||||||
fileSystems."/home" = {
|
fileSystems."/home" = {
|
||||||
|
|
@ -99,6 +99,7 @@
|
||||||
modesetting.enable = true;
|
modesetting.enable = true;
|
||||||
powerManagement.enable = true;
|
powerManagement.enable = true;
|
||||||
# options: production, beta, vulkan_beta, latest
|
# options: production, beta, vulkan_beta, latest
|
||||||
|
# package = pkgs.linuxPackages_latest.nvidiaPackages.latest;
|
||||||
package = pkgs.linuxPackages_zen.nvidiaPackages.latest;
|
package = pkgs.linuxPackages_zen.nvidiaPackages.latest;
|
||||||
open = true;
|
open = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -64,6 +64,7 @@
|
||||||
snapper
|
snapper
|
||||||
starship
|
starship
|
||||||
syncthingtray
|
syncthingtray
|
||||||
|
taskwarrior
|
||||||
thunderbird
|
thunderbird
|
||||||
typst
|
typst
|
||||||
typst-fmt
|
typst-fmt
|
||||||
|
|
@ -145,5 +146,5 @@
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
home-manager.verbose = true;
|
home-manager.verbose = true;
|
||||||
home-manager.backupFileExtension = ".hm-bak";
|
home-manager.backupFileExtension = ".hm-bak";
|
||||||
home-manager.users.tao = import ./tao/home.nix {inherit inputs pkgs;};
|
home-manager.users.tao = import ./tao/HOME.nix {inherit inputs pkgs;};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,8 +31,9 @@
|
||||||
|
|
||||||
nushell = {
|
nushell = {
|
||||||
enable = true;
|
enable = true;
|
||||||
configFile.source = ./config.nu;
|
configFile.source = ./nushell/config.nu;
|
||||||
envFile.source = ./env.nu;
|
envFile.source = ./nushell/env.nu;
|
||||||
|
extraConfig = builtins.readFile ./nushell/stuff.nu;
|
||||||
};
|
};
|
||||||
|
|
||||||
starship = {
|
starship = {
|
||||||
|
|
@ -41,6 +42,10 @@
|
||||||
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
|
settings = builtins.fromTOML (builtins.readFile ./starship.toml);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
taskwarrior = {
|
||||||
|
enable = true;
|
||||||
|
};
|
||||||
|
|
||||||
wezterm = {
|
wezterm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = builtins.readFile ./wezterm.lua;
|
extraConfig = builtins.readFile ./wezterm.lua;
|
||||||
|
|
@ -1,15 +1,3 @@
|
||||||
alias zl = zellij
|
|
||||||
alias ts = tailscale
|
|
||||||
alias tss = tailscale status
|
|
||||||
alias tsx = tailscale exit-node list
|
|
||||||
alias fetch = macchina
|
|
||||||
alias cringe = sudo bootctl set-oneshot auto-windows
|
|
||||||
alias rebs = sudo nixos-rebuild switch --flake ~/Projects/NOflake/
|
|
||||||
alias rebb = sudo nixos-rebuild boot --flake ~/Projects/NOflake/
|
|
||||||
alias gc = sudo nix-collect-garbage -d
|
|
||||||
alias ff = firefox
|
|
||||||
alias pu = pueue
|
|
||||||
|
|
||||||
# Nushell Config File
|
# Nushell Config File
|
||||||
#
|
#
|
||||||
# version = 0.83.1
|
# version = 0.83.1
|
||||||
|
|
@ -740,6 +728,3 @@ $env.config = {
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
source ~/.zoxide.nu
|
|
||||||
source ~/.cache/starship/init.nu
|
|
||||||
|
|
||||||
15
users/tao/nushell/stuff.nu
Normal file
15
users/tao/nushell/stuff.nu
Normal file
|
|
@ -0,0 +1,15 @@
|
||||||
|
source ~/.cache/starship/init.nu
|
||||||
|
source ~/.zoxide.nu
|
||||||
|
alias cringe = sudo bootctl set-oneshot auto-windows
|
||||||
|
alias fetch = macchina
|
||||||
|
alias ff = firefox
|
||||||
|
alias gc = sudo nix-collect-garbage -d
|
||||||
|
alias pu = pueue
|
||||||
|
alias rb = sudo nixos-rebuild boot --flake ~/Projects/NOflake/
|
||||||
|
alias rs = sudo nixos-rebuild switch --flake ~/Projects/NOflake/
|
||||||
|
alias t = task
|
||||||
|
alias ts = tailscale
|
||||||
|
alias tss = tailscale status
|
||||||
|
alias tsx = tailscale exit-node list
|
||||||
|
alias zl = zellij
|
||||||
|
task
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
return {
|
local wezterm = require 'wezterm';
|
||||||
|
local config = {
|
||||||
font = wezterm.font 'FiraCode Nerd Font',
|
font = wezterm.font 'FiraCode Nerd Font',
|
||||||
color_scheme = "Dracula",
|
color_scheme = "Dracula",
|
||||||
warn_about_missing_glyphs = true,
|
warn_about_missing_glyphs = true,
|
||||||
check_for_updates = false,
|
check_for_updates = false,
|
||||||
|
|
||||||
hide_tab_bar_if_only_one_tab = true,
|
hide_tab_bar_if_only_one_tab = true,
|
||||||
}
|
}
|
||||||
|
return config
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue