Mangohud : Enable globally.

This commit is contained in:
Dmitry Voronin 2024-02-25 19:18:50 +03:00
parent 57af2b88df
commit c9cd1711bf
4 changed files with 7 additions and 19 deletions

View file

@ -1,20 +1,5 @@
{
"nodes": {
"applefonts": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1,
"narHash": "sha256-KbrC/id7KX3UsnL0jRu6WuKujzYvo5uDhLCpJhWgnRk=",
"path": "derivation/apple_font",
"type": "path"
},
"original": {
"path": "derivation/apple_font",
"type": "path"
}
},
"dotfiles": {
"flake": false,
"locked": {
@ -369,7 +354,6 @@
},
"root": {
"inputs": {
"applefonts": "applefonts",
"dotfiles": "dotfiles",
"nixpkgs": "nixpkgs_2",
"nvimAlign": "nvimAlign",

View file

@ -6,7 +6,7 @@
url = "git+https://git.voronind.com/voronind/linux.git";
flake = false;
};
applefonts.url = "path:derivation/apple_font";
applefonts.url = "git+file:.?dir=./.config/linux/system/derivation/apple_font";
# Nvim plugins.
nvimAlign = {

View file

@ -7,12 +7,16 @@
gradience
jellyfin
jetbrains.idea-community
mangohud
obs-studio
onlyoffice-bin
tor-browser
];
hardware.opengl = {
extraPackages = with pkgs; [ mangohud ];
extraPackages32 = with pkgs; [ mangohud ];
};
# Special packages.
programs.steam.enable = true;
}

View file

@ -1,7 +1,7 @@
{ pkgs, inputs, ... }: let
unit = {
description = "Install/update dotfiles on startup.";
wantedBy = [ "multi-user.target" ];
wantedBy = [ "multi-user.target" "default.target" ];
wants = [ "NetworkManager-wait-online.service" ];
after = [ "NetworkManager-wait-online.service" ];
serviceConfig.Type = "oneshot";