diff --git a/systems/BASED.nix b/systems/BASED.nix index 5fc1bea..67d4438 100644 --- a/systems/BASED.nix +++ b/systems/BASED.nix @@ -75,7 +75,7 @@ services.xserver.xkb.layout = "us"; systemd.services.display-manager.restartIfChanged = false; services.xserver.displayManager.sddm.enable = lib.mkDefault true; - services.xserver.desktopManager.plasma6.enable = lib.mkDefault true; + services.desktopManager.plasma6.enable = lib.mkDefault true; environment.plasma6.excludePackages = with pkgs; [ elisa konsole diff --git a/systems/NOcomputer.nix b/systems/NOcomputer.nix index eb0f641..39c02fe 100644 --- a/systems/NOcomputer.nix +++ b/systems/NOcomputer.nix @@ -101,7 +101,6 @@ # options: production, beta, vulkan_beta, latest # package = pkgs.linuxPackages_latest.nvidiaPackages.latest; package = pkgs.linuxPackages_zen.nvidiaPackages.latest; - open = true; # open = true; }; # enable core and mem freq sliders for nvidia diff --git a/users/tao.nix b/users/tao.nix index eabb087..35728f3 100644 --- a/users/tao.nix +++ b/users/tao.nix @@ -100,12 +100,12 @@ # ''; # obs virtual camera - boot.extraModulePackages = with config.boot.kernelPackages; [ - v4l2loopback - ]; - boot.extraModprobeConfig = '' - options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 - ''; + # boot.extraModulePackages = with config.boot.kernelPackages; [ + # v4l2loopback + # ]; + # boot.extraModprobeConfig = '' + # options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1 + # ''; # stylix.autoEnable = false; # stylix.image = /home/tao/Pictures/Wallpapers/DJI_0121.JPG; diff --git a/users/tao/HOME.nix b/users/tao/HOME.nix index b0455c2..d8ff27c 100644 --- a/users/tao/HOME.nix +++ b/users/tao/HOME.nix @@ -5,9 +5,10 @@ }: { imports = [ (import ./helix.nix {inherit pkgs inputs;}) - ./cargo.nix ]; + home.file.".cargo/config.toml".text = builtins.readFile ./cargo.toml; + programs = { jujutsu = { enable = true; @@ -42,9 +43,9 @@ settings = builtins.fromTOML (builtins.readFile ./starship.toml); }; - # taskwarrior = { - # enable = true; - # }; + taskwarrior = { + enable = true; + }; wezterm = { enable = true; @@ -62,12 +63,12 @@ }; }; - # services = { - # pueue = { - # enable = true; - # settings = {}; - # }; - # }; + services = { + pueue = { + enable = true; + settings = {}; + }; + }; home.username = "tao"; home.homeDirectory = "/home/tao"; diff --git a/users/tao/cargo.nix b/users/tao/cargo.nix deleted file mode 100644 index a9c9c84..0000000 --- a/users/tao/cargo.nix +++ /dev/null @@ -1,43 +0,0 @@ -{pkgs, ...}: { - home.file.".cargo/config.toml".text = '' - [alias] - rr = "run --release" - - [build] - target = "x86_64-unknown-linux-gnu" - rustc-wrapper = "${pkgs.sccache}/bin/sccache" - rustflags = ["-Z", "threads=8"] - - [unstable] - codegen-backend = true - - [provile.dev] - debug = 0 - strip = "debuginfo" - opt-level = 1 - lto = "off" - codegen-backend = "cranelift" - - [profile.dev.package."*"] - # slow clean build for faster incrementals - opt-level = 3 - - [profile.release] - incremental = true - codegen-units = 1 - lto = "fat" - - # [target.x86-unknown-linux-musl] - # # linker = "musl-gcc" - # linker = "clang" - # rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"] - - [target.x86-unknown-linux-gnu] - # linker = "musl-gcc" - linker = "clang" - rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"] - - # https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent - # jonhoo - ''; -} diff --git a/users/tao/cargo.toml b/users/tao/cargo.toml new file mode 100644 index 0000000..f9f947a --- /dev/null +++ b/users/tao/cargo.toml @@ -0,0 +1,39 @@ +[alias] +rr = "run --release" + +[build] +target = "x86_64-unknown-linux-gnu" +rustc-wrapper = "${pkgs.sccache}/bin/sccache" +rustflags = ["-Z", "threads=8"] + +[unstable] +codegen-backend = true + +[provile.dev] +debug = 0 +strip = "debuginfo" +opt-level = 1 +lto = "off" +codegen-backend = "cranelift" + +[profile.dev.package."*"] +# slow clean build for faster incrementals +opt-level = 3 + +[profile.release] +incremental = true +codegen-units = 1 +lto = "fat" + +# [target.x86-unknown-linux-musl] +# # linker = "musl-gcc" +# linker = "clang" +# rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"] + +[target.x86-unknown-linux-gnu] +# linker = "musl-gcc" +linker = "clang" +rustflag = ["-C", "target-cpu=native", "link-arg=ld-path=${pkgs.mold}/bin/mold"] + +# https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent +# jonhoo diff --git a/users/tao/nushell/stuff.nu b/users/tao/nushell/stuff.nu index f6b3f05..1147357 100644 --- a/users/tao/nushell/stuff.nu +++ b/users/tao/nushell/stuff.nu @@ -7,8 +7,8 @@ alias gc = sudo nix-collect-garbage -d alias js = jj status alias jd = jj diff alias pu = pueue -alias rb = sudo nixos-rebuild boot --flake ~/Projects/NOflake/ -alias rs = sudo nixos-rebuild switch --flake ~/Projects/NOflake/ +alias rb = sudo nice -n19 nixos-rebuild boot --flake ~/Projects/NOflake/ +alias rs = sudo nice -n19 nixos-rebuild switch --flake ~/Projects/NOflake/ alias t = task alias ts = tailscale alias tss = tailscale status