update and fix/ignore currently broken rust builds

This commit is contained in:
Kopatz
2024-08-16 12:48:52 +02:00
parent 8df7c8ef91
commit 5484575693
6 changed files with 51 additions and 30 deletions

32
flake.lock generated
View File

@@ -45,11 +45,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722347739, "lastModified": 1723405438,
"narHash": "sha256-rAoh+K6KG+b1DwSWtqRVocdojnH6nGk6q07mNltoUSM=", "narHash": "sha256-bpmC2m7OhlDvqgQZdZ2jBLyeIkq/Jld3X4bqRAxBSp8=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "aquamarine", "repo": "aquamarine",
"rev": "7c3565f9bedc7cb601cc0baa14792247e4dc1d5a", "rev": "9312aa28271c91e5d67ecb9def527b2bbcff0e66",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -531,11 +531,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1721330371, "lastModified": 1722623071,
"narHash": "sha256-aYlHTWylczLt6ERJyg6E66Y/XSCbVL7leVcRuJmVbpI=", "narHash": "sha256-sLADpVgebpCBFXkA1FlCXtvEPu1tdEsTfqK1hfeHySE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprcursor", "repo": "hyprcursor",
"rev": "4493a972b48f9c3014befbbf381ed5fff91a65dc", "rev": "912d56025f03d41b1ad29510c423757b4379eb1c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -558,11 +558,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1723215081, "lastModified": 1723799341,
"narHash": "sha256-HVaAneYjMwsXXpbxDVmk+G2h1uQvAhog3QxZGuVDbX8=", "narHash": "sha256-OOwAjqHy/lC+rHZrWDIF2w0oppVxCP48lPDhyNNZ5HQ=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "fd1d4e288edd586a3d5273cda053a51f5b14cad7", "rev": "1840a907a8c6b1f59cfa6738a8f46b320e8df8b1",
"revCount": 5072, "revCount": 5097,
"submodules": true, "submodules": true,
"type": "git", "type": "git",
"url": "https://github.com/hyprwm/Hyprland" "url": "https://github.com/hyprwm/Hyprland"
@@ -641,11 +641,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1722098849, "lastModified": 1722869141,
"narHash": "sha256-D3wIZlBNh7LuZ0NaoCpY/Pvu+xHxIVtSN+KkWZYvvVs=", "narHash": "sha256-0KU4qhyMp441qfwbirNg3+wbm489KnEjXOz2I/RbeFs=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprutils", "repo": "hyprutils",
"rev": "5dcbbc1e3de40b2cecfd2007434d86e924468f1f", "rev": "0252fd13e78e60fb0da512a212e56007515a49f7",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -829,11 +829,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1722813957, "lastModified": 1723637854,
"narHash": "sha256-IAoYyYnED7P8zrBFMnmp7ydaJfwTnwcnqxUElC1I26Y=", "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "cb9a96f23c491c081b38eab96d22fa958043c9fa", "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -78,6 +78,15 @@ in {
0; # -1.0 - 1.0, 0 means no modification. 0; # -1.0 - 1.0, 0 means no modification.
}; };
cursor = {
no_hardware_cursors = true;
};
render = {
explicit_sync = 1;
explicit_sync_kms = 0;
};
general = { general = {
# See https://wiki.hyprland.org/Configuring/Variables # See https://wiki.hyprland.org/Configuring/Variables

View File

@@ -20,7 +20,7 @@
enable = true; enable = true;
package = pkgs.stable.csharp-ls; package = pkgs.stable.csharp-ls;
}; };
typst-lsp.enable = true; #typst-lsp.enable = true;
}; };
keymaps.lspBuf = { keymaps.lspBuf = {
gd = { gd = {

View File

@@ -1,19 +1,18 @@
{config, lib, pkgs, ...}: { config, lib, pkgs, ... }:
with lib; with lib;
let let cfg = config.custom.graphical.games;
cfg = config.custom.graphical.games; in {
in options.custom.graphical.games = { enable = mkEnableOption "Enables games"; };
{
options.custom.graphical.games = {
enable = mkEnableOption "Enables games";
};
config = mkIf cfg.enable { config = mkIf cfg.enable {
programs.steam = { programs.steam = {
enable = true; enable = true;
remotePlay.openFirewall = true; # Open ports in the firewall for Steam Remote Play remotePlay.openFirewall =
dedicatedServer.openFirewall = true; # Open ports in the firewall for Source Dedicated Server true; # Open ports in the firewall for Steam Remote Play
dedicatedServer.openFirewall =
true; # Open ports in the firewall for Source Dedicated Server
gamescopeSession.enable = true; gamescopeSession.enable = true;
extraCompatPackages = with pkgs; [ proton-ge-bin ];
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
taisei taisei
@@ -23,7 +22,7 @@ in
lutris lutris
mangohud mangohud
prismlauncher prismlauncher
tetrio-desktop #tetrio-desktop #fuck you osk
#libs #libs
]; ];
}; };

View File

@@ -9,7 +9,7 @@ in
config = lib.mkIf cfg.enable { config = lib.mkIf cfg.enable {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
easyeffects #easyeffects #rust build broken atm
]; ];
}; };
} }

View File

@@ -18,6 +18,19 @@
inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland; inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.hyprland;
xdg-desktop-portal-hyprland = xdg-desktop-portal-hyprland =
inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland; inputs.hyprland.packages.${prev.stdenv.hostPlatform.system}.xdg-desktop-portal-hyprland;
delta = prev.delta.overrideAttrs (oldAttrs: rec {
version = "0.17.0-unstable-2024-08-12";
src = prev.fetchFromGitHub {
owner = "dandavison";
repo = "delta";
rev = "a01141b72001f4c630d77cf5274267d7638851e4";
hash = "sha256-My51pQw5a2Y2VTu39MmnjGfmCavg8pFqOmOntUildS0=";
};
cargoDeps = oldAttrs.cargoDeps.overrideAttrs {
inherit src;
outputHash = "sha256-TJ/yLt53hKElylycUfGV8JGt7GzqSnIO3ImhZvhVQu0=";
};
});
# .png doesnt work :( # .png doesnt work :(
#fastfetch = prev.fastfetch.overrideAttrs (oldAttrs: { #fastfetch = prev.fastfetch.overrideAttrs (oldAttrs: {