Compare commits

..

No commits in common. "52af6ce1425b8eda3f5c4a582f229a76579cbb4c" and "71b0ce756a8d96ba765e7fbb776f70ae03d5690a" have entirely different histories.

8 changed files with 56 additions and 72 deletions

View file

@ -251,11 +251,11 @@
]
},
"locked": {
"lastModified": 1752093218,
"narHash": "sha256-+3rXu8ewcNDi65/2mKkdSGrivQs5zEZVp5aYszXC0d0=",
"lastModified": 1751489990,
"narHash": "sha256-ENTd/sd4Vz/VJYn14SVqW1OH2m7WIAvsm9A9SrmDZRY=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "206ed3c71418b52e176f16f58805c96e84555320",
"rev": "89af52d9a893af013f5f4c1d2d56912106827153",
"type": "github"
},
"original": {
@ -300,11 +300,11 @@
]
},
"locked": {
"lastModified": 1752099881,
"narHash": "sha256-mn6f4ci5C2jkyxgmBHQ4dI9V0/20DlyS6EbQz4w7znc=",
"lastModified": 1750621684,
"narHash": "sha256-E8iHTYK9iUtIjYgBNj54Xeulj9WaxSGDbzOLLFhCSqA=",
"owner": "moonlight-mod",
"repo": "moonlight",
"rev": "dbef0c38e1c0066de5ec35a4d4219026b1bd7010",
"rev": "9398874e59f5e2b8485c489ce6c0f6c9c7d210a0",
"type": "github"
},
"original": {
@ -333,6 +333,27 @@
"type": "github"
}
},
"nil": {
"inputs": {
"nixpkgs": [
"nvf",
"nixpkgs"
]
},
"locked": {
"lastModified": 1750047244,
"narHash": "sha256-vluLARrk4485npdyHOj8XKr0yk6H22pNf+KVRNL+i/Y=",
"owner": "oxalica",
"repo": "nil",
"rev": "870a4b1b5f12004832206703ac15aa85c42c247b",
"type": "github"
},
"original": {
"owner": "oxalica",
"repo": "nil",
"type": "github"
}
},
"nix-index-database": {
"inputs": {
"nixpkgs": [
@ -340,11 +361,11 @@
]
},
"locked": {
"lastModified": 1751774635,
"narHash": "sha256-DuOznGdgMxeSlPpUu6Wkq0ZD5e2Cfv9XRZeZlHWMd1s=",
"lastModified": 1751170039,
"narHash": "sha256-3EKpUmyGmHYA/RuhZjINTZPU+OFWko0eDwazUOW64nw=",
"owner": "nix-community",
"repo": "nix-index-database",
"rev": "85686025ba6d18df31cc651a91d5adef63378978",
"rev": "9c932ae632d6b5150515e5749b198c175d8565db",
"type": "github"
},
"original": {
@ -406,11 +427,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1751984180,
"narHash": "sha256-LwWRsENAZJKUdD3SpLluwDmdXY9F45ZEgCb0X+xgOL0=",
"lastModified": 1751271578,
"narHash": "sha256-P/SQmKDu06x8yv7i0s8bvnnuJYkxVGBWLWHaU+tt4YY=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "9807714d6944a957c2e036f84b0ff8caf9930bc0",
"rev": "3016b4b15d13f3089db8a41ef937b13a9e33a8df",
"type": "github"
},
"original": {
@ -456,17 +477,18 @@
"flake-parts": "flake-parts",
"flake-utils": "flake-utils_3",
"mnw": "mnw",
"nil": "nil",
"nixpkgs": [
"nixpkgs"
],
"systems": "systems_4"
},
"locked": {
"lastModified": 1752075018,
"narHash": "sha256-RJnQJooI1Jc7U4gvEKErbiIcgqGtEeUWddvxIjQfP58=",
"lastModified": 1751186226,
"narHash": "sha256-Bt7jtmCW72JUPxOIrV73qBTAUOy4qvJXsls2ERDUcGo=",
"owner": "notashelf",
"repo": "nvf",
"rev": "9aa90885640d19b1375e6dec75c6cb125ac0f0c2",
"rev": "5bad5dd94ce5ea3b40b08d9e6802e69d02198d21",
"type": "github"
},
"original": {
@ -511,11 +533,11 @@
]
},
"locked": {
"lastModified": 1752028888,
"narHash": "sha256-LRj3/PUpII6taWOrX1w/OeI6f1ncND02PP/kEHvPCqU=",
"lastModified": 1751423951,
"narHash": "sha256-AowKhJGplXRkAngSvb+32598DTiI6LOzhAnzgvbCtYM=",
"owner": "oxalica",
"repo": "rust-overlay",
"rev": "a0f1c656e053463b47639234b151a05e4441bb19",
"rev": "1684ed5b15859b655caf41b467d046e29a994d04",
"type": "github"
},
"original": {
@ -720,11 +742,11 @@
]
},
"locked": {
"lastModified": 1751688498,
"narHash": "sha256-6kYe6ozYDvsHAxV1zbSxg0oRWF4TzTfOUUJsR6MJlYY=",
"lastModified": 1751256876,
"narHash": "sha256-4A8LmE0Hd9RvQwSEPYdITJebpLt7J99VY76IphzqZKc=",
"owner": "youwen5",
"repo": "zen-browser-flake",
"rev": "b5d422dc2b28eb77a21fbdf60aca9a6e63d5a1ab",
"rev": "615b9244dc7ac777b8f0bc3a9cb7290936e4fcf9",
"type": "github"
},
"original": {
@ -740,11 +762,11 @@
"nixpkgs": "nixpkgs_3"
},
"locked": {
"lastModified": 1752063248,
"narHash": "sha256-albe9Q066T4IesTRfaNpEcNQ09ABwU6esFUDyfb472U=",
"lastModified": 1751458413,
"narHash": "sha256-eyKdTzRaY4blNs/GVJODh4E+16wpEKmlnQUpGf9e9gc=",
"owner": "mitchellh",
"repo": "zig-overlay",
"rev": "6f9a3c160daca2a701a638a7ea7b0e675c1a1848",
"rev": "4f33e11d99060c5cb2bdc380a11a9b23858dcfde",
"type": "github"
},
"original": {

View file

@ -50,7 +50,6 @@
inputs.zig.overlays.default
inputs.rust-overlay.overlays.default
inputs.nh.overlays.default
inputs.moonlight.overlays.default
# https://github.com/LnL7/nix-darwin/issues/1041
(_: prev: {

View file

@ -37,6 +37,7 @@
lsp = {
# Must be enabled for language modules to hook into the LSP API.
enable = true;
formatOnSave = true;
# show errors inline
# https://github.com/folke/trouble.nvim
@ -101,7 +102,7 @@
lua.enable = true;
# sort-lines: off
ts.format.enable = true; # deno fmt is enabled elsewhere
ts.format.enable = false; # deno fmt is enabled elsewhere
nix = {
enable = true;
format.type = "nixfmt"; # looks so much nicer

View file

@ -8,7 +8,6 @@
./boot.nix
./ld.nix
./services.nix
./nvidia.nix
];
# make 'shared.darwin' not an error to define.
options.shared.darwin = lib.mkOption {

View file

@ -7,7 +7,7 @@ let
nvidiaDriverChannel = config.boot.kernelPackages.nvidiaPackages.latest;
in
{
services.xserver.videoDrivers = [ "nvidia" "amdgpu"];
services.xserver.videoDrivers = [ "nvidia" ];
nixpkgs.config = {
nvidia.acceptLicense = true;
@ -43,24 +43,13 @@ in
powerManagement = {
enable = true; # Power management
finegrained = true; # More precise power consumption control
# finegrained = true; # More precise power consumption control
};
prime = {
offload = {
enable = true;
enableOffloadCmd = true;
};
nvidiaBusId = "PCI:1:0:0";
amdgpuBusId = "PCI:15:0:0";
};
# Use the NVidia open source kernel module (not to be confused with the
# independent third-party "nouveau" open source driver).
# Currently alpha-quality/buggy, so false is currently the recommended setting.
open = true;
open = false;
# Environment variables for better compatibility
@ -70,8 +59,8 @@ in
package = nvidiaDriverChannel;
# #Fixes a glitch
# nvidiaPersistenced = true;
#Fixes a glitch
nvidiaPersistenced = true;
};
nvidia-container-toolkit.enable = true;

20
test.ts
View file

@ -1,20 +0,0 @@
const option = collectionDetails
.fields
.find(
(field): field is { type: "Option", slug: string, validations: WebflowValidations["Option"] } =>
field.slug === fieldData.path
)!
.validations;
if (fieldData.type
"Option" && typeof rawValue
"string")
return (
(
collectionDetails.fields. find (predicate: (field) field.slug
| WebflowValidations["Option"]
| undefined
fieldData.path) ?. validations as
)?. options.find(predicate: (option) option.id
rawValue) ?. name ?? fullMatch
);

View file

@ -31,9 +31,6 @@
winetricks
(prismlauncher.override { gamemodeSupport = true; })
umu-launcher
limo
nexusmods-app-unfree
protontricks
#window manager stuff
wofi

View file

@ -15,8 +15,6 @@ with pkgs;
clang
cmake
gnupg
typescript-language-server
deno
#ides
zed-editor
@ -59,10 +57,9 @@ with pkgs;
imagemagick
#chatting apps
discord
# (discord.override {
# withMoonlight = true;
# })
(discord.override {
withMoonlight = true;
})
vesktop
#media