mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 08:07:45 +00:00
Remove warnings
This commit is contained in:
parent
96837b7675
commit
31ef3bf5c9
3 changed files with 3 additions and 38 deletions
|
|
@ -38,7 +38,6 @@ in {
|
||||||
mods.unfree.steam.enable = true;
|
mods.unfree.steam.enable = true;
|
||||||
mods.unfree.nvidia.enable = true;
|
mods.unfree.nvidia.enable = true;
|
||||||
mods.unfree.minecraft.enable = false;
|
mods.unfree.minecraft.enable = false;
|
||||||
services.flatpak.enable = true;
|
|
||||||
|
|
||||||
# Hardware preferences
|
# Hardware preferences
|
||||||
|
|
||||||
|
|
@ -65,9 +64,9 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
hardware = {
|
hardware = {
|
||||||
opengl = {
|
graphics = {
|
||||||
enable = true;
|
enable = true;
|
||||||
driSupport32Bit = true;
|
enable32Bit = true;
|
||||||
extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
|
extraPackages = with pkgs; [ vaapiVdpau libvdpau-va-gl ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -92,12 +91,6 @@ in {
|
||||||
pulseaudio.support32Bit = true;
|
pulseaudio.support32Bit = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
xdg.portal = {
|
|
||||||
enable = true;
|
|
||||||
wlr.enable = false;
|
|
||||||
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
|
|
||||||
};
|
|
||||||
|
|
||||||
## Mouse
|
## Mouse
|
||||||
services.libinput.mouse.accelProfile = "flat";
|
services.libinput.mouse.accelProfile = "flat";
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,26 +1,5 @@
|
||||||
{ pkgs, lib, config, ... }:
|
{ pkgs, lib, config, ... }:
|
||||||
let
|
let
|
||||||
# wgsl_analyzer = pkgs.rustPlatform.buildRustPackage rec {
|
|
||||||
# pname = "wgsl_analyzer";
|
|
||||||
# version = "main";
|
|
||||||
|
|
||||||
# src = pkgs.fetchFromGitHub {
|
|
||||||
# owner = "wgsl-analyzer";
|
|
||||||
# repo = "wgsl-analyzer";
|
|
||||||
# rev = version;
|
|
||||||
# sha256 = "bhosTihbW89vkqp1ua0C1HGLJJdCNfRde98z4+IjkOc=";
|
|
||||||
# };
|
|
||||||
|
|
||||||
# cargoLock.lockFile = ./WGSL.lock;
|
|
||||||
# cargoLock.outputHashes = {
|
|
||||||
# "naga-0.14.0" = "Wo5WJzi1xdmqx23W1nuIUXkfKEzXVwL+dZu5hBOhHW8=";
|
|
||||||
# "la-arena-0.3.1" = "7/bfvV5kS13zLSR8VCsmsgoWa7PHidFZTWE06zzVK5s=";
|
|
||||||
# "paths-0.0.0" = "7/bfvV5kS13zLSR8VCsmsgoWa7PHidFZTWE06zzVK5s=";
|
|
||||||
# "stdx-0.0.0" = "7/bfvV5kS13zLSR8VCsmsgoWa7PHidFZTWE06zzVK5s=";
|
|
||||||
# "text-edit-0.0.0" = "7/bfvV5kS13zLSR8VCsmsgoWa7PHidFZTWE06zzVK5s=";
|
|
||||||
# "vfs-0.0.0" = "7/bfvV5kS13zLSR8VCsmsgoWa7PHidFZTWE06zzVK5s=";
|
|
||||||
# };
|
|
||||||
# };
|
|
||||||
wgsl_analyzer = with pkgs;
|
wgsl_analyzer = with pkgs;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "wgsl_analyzer";
|
pname = "wgsl_analyzer";
|
||||||
|
|
@ -43,11 +22,6 @@ let
|
||||||
cp $src $out/bin/${pname}
|
cp $src $out/bin/${pname}
|
||||||
chmod +x $out/bin/${pname}
|
chmod +x $out/bin/${pname}
|
||||||
'';
|
'';
|
||||||
# installPhase = ''
|
|
||||||
# runHook preInstall
|
|
||||||
# install -m755 -D wgsl-analyzer-linux-x64 $out/bin/${pname}
|
|
||||||
# runHook postInstall
|
|
||||||
# '';
|
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
options.mods.terminal.development.enable =
|
options.mods.terminal.development.enable =
|
||||||
|
|
@ -108,7 +82,7 @@ in {
|
||||||
{
|
{
|
||||||
name = "nix";
|
name = "nix";
|
||||||
auto-format = true;
|
auto-format = true;
|
||||||
formatter.command = "${pkgs.nixfmt}/bin/nixfmt";
|
formatter.command = "${pkgs.nixfmt-classic}/bin/nixfmt";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
name = "rust";
|
name = "rust";
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,6 @@
|
||||||
options.mods.xdg.enable = lib.mkEnableOption "enables xdg settings";
|
options.mods.xdg.enable = lib.mkEnableOption "enables xdg settings";
|
||||||
|
|
||||||
config = lib.mkIf config.mods.xdg.enable {
|
config = lib.mkIf config.mods.xdg.enable {
|
||||||
nix.settings.use-xdg-base-directories = true;
|
|
||||||
|
|
||||||
xdg = let
|
xdg = let
|
||||||
browser = [ "librewolf.desktop" ];
|
browser = [ "librewolf.desktop" ];
|
||||||
associations = {
|
associations = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue