Add settings for graphics
This commit is contained in:
parent
89114cc957
commit
314c386085
|
@ -1,6 +1,5 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
let
|
||||
inherit (import ./user/variables.nix) key theme color accent font;
|
||||
let inherit (import ./user/variables.nix) key theme color accent font;
|
||||
in pkgs.writeScriptBin "bmenu" ''
|
||||
#!${pkgs.fish}/bin/fish
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
# my stuff
|
||||
dhist.url = "github:lelgenio/dhist";
|
||||
};
|
||||
outputs = { nixpkgs, nixpkgs-unstable, home-manager, nur, dhist, ... } :
|
||||
outputs = { nixpkgs, nixpkgs-unstable, home-manager, nur, dhist, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
|
@ -29,9 +29,10 @@
|
|||
common_modules = [
|
||||
./system/configuration.nix
|
||||
# nur.nixosModules.nur
|
||||
({ config, pkgs, ... } : {
|
||||
({ config, pkgs, ... }: {
|
||||
nixpkgs.overlays = [
|
||||
overlay-unstable nur.overlay
|
||||
overlay-unstable
|
||||
nur.overlay
|
||||
(_: _: {
|
||||
dhist = dhist.packages.${system}.dhist;
|
||||
bmenu = import ./bmenu.nix { inherit config pkgs lib; };
|
||||
|
|
|
@ -43,6 +43,11 @@ in {
|
|||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
boot.loader.efi.efiSysMountPoint = "/boot/efi";
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"vm.max_map_count" = 1048576; # Needed by DayZ
|
||||
};
|
||||
|
||||
# networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
# Configure network proxy if necessary
|
||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||
|
|
|
@ -15,6 +15,7 @@
|
|||
# For 32 bit applications
|
||||
# Only available on unstable
|
||||
hardware.opengl.extraPackages32 = with pkgs; [ driversi686Linux.amdvlk ];
|
||||
environment.variables = { AMD_VULKAN_ICD = "RADV"; };
|
||||
|
||||
boot.extraModulePackages = [ ];
|
||||
fileSystems."/" = {
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ config, pkgs, lib, font, ... }: let
|
||||
inherit (import ./variables.nix) key theme color accent font;
|
||||
{ config, pkgs, lib, font, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
config = {
|
||||
programs.helix = {
|
||||
|
@ -62,8 +62,6 @@ in {
|
|||
keys.insert = { "A-k" = "normal_mode"; };
|
||||
};
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
pkgs.unstable.helix
|
||||
];
|
||||
home.packages = with pkgs; [ pkgs.unstable.helix ];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -322,54 +322,54 @@ in {
|
|||
enable = true;
|
||||
enableSessionWide = true;
|
||||
settings = {
|
||||
toggle_fps_limit="F1";
|
||||
toggle_fps_limit = "F1";
|
||||
|
||||
legacy_layout="false";
|
||||
legacy_layout = "false";
|
||||
gpu_stats = true;
|
||||
gpu_temp = true;
|
||||
gpu_core_clock = true;
|
||||
gpu_mem_clock = true;
|
||||
gpu_power = true;
|
||||
gpu_load_change = true;
|
||||
gpu_load_value="50,90";
|
||||
gpu_load_color="FFFFFF,FFAA7F,CC0000";
|
||||
gpu_text="GPU";
|
||||
gpu_load_value = "50,90";
|
||||
gpu_load_color = "FFFFFF,FFAA7F,CC0000";
|
||||
gpu_text = "GPU";
|
||||
cpu_stats = true;
|
||||
cpu_temp = true;
|
||||
cpu_power = true;
|
||||
cpu_mhz = true;
|
||||
cpu_load_change = true;
|
||||
core_load_change = true;
|
||||
cpu_load_value="50,90";
|
||||
cpu_load_color="FFFFFF,FFAA7F,CC0000";
|
||||
cpu_color="2e97cb";
|
||||
cpu_text="CPU";
|
||||
cpu_load_value = "50,90";
|
||||
cpu_load_color = "FFFFFF,FFAA7F,CC0000";
|
||||
cpu_color = "2e97cb";
|
||||
cpu_text = "CPU";
|
||||
io_stats = true;
|
||||
io_read = true;
|
||||
io_write = true;
|
||||
io_color="a491d3";
|
||||
io_color = "a491d3";
|
||||
swap = true;
|
||||
vram = true;
|
||||
vram_color="ad64c1";
|
||||
vram_color = "ad64c1";
|
||||
ram = true;
|
||||
ram_color="c26693";
|
||||
ram_color = "c26693";
|
||||
fps = true;
|
||||
engine_color="eb5b5b";
|
||||
gpu_color="2e9762";
|
||||
wine_color="eb5b5b";
|
||||
frame_timing="1";
|
||||
frametime_color="00ff00";
|
||||
media_player_color="ffffff";
|
||||
background_alpha="0.8";
|
||||
font_size="24";
|
||||
engine_color = "eb5b5b";
|
||||
gpu_color = "2e9762";
|
||||
wine_color = "eb5b5b";
|
||||
frame_timing = "1";
|
||||
frametime_color = "00ff00";
|
||||
media_player_color = "ffffff";
|
||||
background_alpha = "0.8";
|
||||
font_size = "24";
|
||||
|
||||
background_color="020202";
|
||||
position="top-left";
|
||||
text_color="ffffff";
|
||||
round_corners="10";
|
||||
toggle_hud="Shift_R+F12";
|
||||
toggle_logging="Shift_L+F12";
|
||||
output_folder="/home/lelgenio";
|
||||
background_color = "020202";
|
||||
position = "top-left";
|
||||
text_color = "ffffff";
|
||||
round_corners = "10";
|
||||
toggle_hud = "Shift_R+F12";
|
||||
toggle_logging = "Shift_L+F12";
|
||||
output_folder = "/home/lelgenio";
|
||||
};
|
||||
};
|
||||
systemd.user.services = {
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
{ config, pkgs, lib, font, ... }: let
|
||||
inherit (import ./variables.nix) key theme color accent font;
|
||||
{ config, pkgs, lib, font, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
config = {
|
||||
programs.kakoune = {
|
||||
enable = true;
|
||||
extraConfig = let
|
||||
enable = true;
|
||||
extraConfig = let
|
||||
colors = lib.mapAttrs (_: lib.replaceStrings [ "#" ] [ "rgb:" ]) {
|
||||
accent_fg = accent.fg;
|
||||
accent_color = accent.color;
|
||||
|
@ -120,12 +120,7 @@ in {
|
|||
Hint = "blue";
|
||||
}));
|
||||
};
|
||||
home.packages = with pkgs; [
|
||||
kakoune
|
||||
terminal
|
||||
ranger
|
||||
bmenu
|
||||
];
|
||||
home.packages = with pkgs; [ kakoune terminal ranger bmenu ];
|
||||
home.sessionVariables = {
|
||||
EDITOR = "kak";
|
||||
# Some plugins(kak_ansi) like to compile stuff
|
||||
|
|
|
@ -93,10 +93,7 @@ in {
|
|||
};
|
||||
floating = {
|
||||
modifier = "Mod4";
|
||||
criteria = [
|
||||
{ class = "file_picker"; }
|
||||
{ app_id = "file_picker"; }
|
||||
];
|
||||
criteria = [ { class = "file_picker"; } { app_id = "file_picker"; } ];
|
||||
};
|
||||
keybindings = let
|
||||
mod = "Mod4";
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{ config, pkgs, lib, font, ... }: let
|
||||
inherit (import ./variables.nix) key theme color accent font;
|
||||
{ config, pkgs, lib, font, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
config = {
|
||||
programs.waybar = {
|
||||
|
|
Loading…
Reference in a new issue