random garbage

This commit is contained in:
Tao Tien 2024-04-29 13:53:43 -07:00
parent 333fc943df
commit bb121c2d33
4 changed files with 7 additions and 39 deletions

View file

@ -32,9 +32,13 @@
wget wget
zstd zstd
]; ];
programs.firefox.enable = true;
programs.partition-manager.enable = lib.mkDefault true; programs.partition-manager.enable = lib.mkDefault true;
programs.nh = {
enable = true;
};
programs.firefox.enable = true;
programs.firefox.policies = { programs.firefox.policies = {
DisablePocket = true; DisablePocket = true;
PasswordManagerEnabled = false; PasswordManagerEnabled = false;

View file

@ -67,7 +67,7 @@
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=home_snaps/" "noatime" "compress-force=zstd:3" "discard=async"]; options = ["subvol=home_snaps/" "noatime" "compress-force=zstd:3" "discard=async"];
}; };
fileSystems."/home/tao/Games" = { fileSystems."/home/tao/games" = {
device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09"; device = "/dev/disk/by-uuid/eb9fcce2-e9f3-438a-b5ce-8f72f32f0e09";
fsType = "btrfs"; fsType = "btrfs";
options = ["subvol=games" "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" "discard=async"]; options = ["subvol=games" "nosuid" "nodev" "noatime" "compress-force=zstd:3" "users" "rw" "exec" "discard=async"];

View file

@ -16,7 +16,6 @@
# ]; # ];
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
# fw-ectool
framework-tool framework-tool
nvtopPackages.amd nvtopPackages.amd
]; ];
@ -63,6 +62,7 @@ AttrKeyboardIntegration=internal";
''; '';
boot.kernelPackages = pkgs.linuxPackages_latest; boot.kernelPackages = pkgs.linuxPackages_latest;
# boot.kernelPackages = pkgs.linuxPackages_zen;
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"nvme" "nvme"
"sd_mod" "sd_mod"

View file

@ -1,36 +0,0 @@
source ~/.cache/starship/init.nu
source ~/.zoxide.nu
def bump [] {
cd /home/tao/projects/NOflake/;
jj new -m "bump";
nix flake update;
# rc2nix | save -f /home/tao/projects/NOflake/users/tao/plasma.nix;
sudo nixos-rebuild boot --flake /home/tao/projects/NOflake/ --impure --verbose;
};
def tse [exit_node] {
tailscale set --exit-node=$exit_node
}
alias b = btm;
alias cringe = sudo bootctl set-oneshot auto-windows
alias fetch = neofetch
alias ff = firefox
alias gc = sudo nix-collect-garbage -d --verbose
alias js = jj status
alias jd = jj diff
alias pu = pueue
alias rb = sudo nice -n19 nixos-rebuild boot --flake . --impure --verbose
alias rs = sudo nice -n19 nixos-rebuild switch --flake . --impure --verbose
alias t = task
alias ts = tailscale
alias tss = tailscale status
alias tsx = tailscale exit-node list
alias zl = zellij
def l [] {
ls | sort-by type
}
task