dotfiles/home/hosts/nixmsi.nix

77 lines
1.7 KiB
Nix
Raw Normal View History

2023-01-24 02:24:40 +07:00
{ config, pkgs, lib, ... }:
{
imports = [
../common/general.nix
../common/firefox.nix
../common/i3-sway.nix
../common/vim.nix
../common/helix.nix
../common/kakoune.nix
];
home.stateVersion = "22.11";
home.username = "user";
home.homeDirectory = "/home/user";
termShell = {
enable = true;
path = "${pkgs.zsh}/bin/zsh";
};
2023-01-24 02:24:40 +07:00
xsession.windowManager.i3.enable = true;
wayland.windowManager.sway.enable = true;
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam-run"
"steam"
"steam-original"
"steam-runtime"
"steamcmd"
];
terminals = ["kitty" "urxvt"];
2023-01-24 02:24:40 +07:00
home.packages = with pkgs; [
steam-run steam
easyeffects
wineWowPackages.waylandFull
winetricks
protontricks proton-caller
bottles
gimp krita blender
tdesktop
2023-01-24 19:43:26 +07:00
rustc rustfmt cargo
(import ../common/home-daemon.nix { inherit lib pkgs; })
2023-01-24 02:24:40 +07:00
# waiting until the PR gets merged
(looking-glass-client.overrideAttrs (old: {
version = "B6";
src = fetchFromGitHub {
owner = "gnif";
repo = "LookingGlass";
rev = "B6";
sha256 = "sha256-6vYbNmNJBCoU23nVculac24tHqH7F4AZVftIjL93WJU=";
fetchSubmodules = true;
};
buildInputs = old.buildInputs ++ (with pkgs; [ pipewire libsamplerate ]);
cmakeFlags = old.cmakeFlags ++ [ "-DENABLE_PULSEAUDIO=no" ];
}))
];
2023-01-25 01:33:07 +07:00
xdg.configFile."looking-glass/client.ini".text = ''
2023-01-24 02:24:40 +07:00
[app]
shmFile=/dev/kvmfr0
capture=dxgi
[dxgi]
copyBackend=d3d12
d3d12CopySleep=5
disableDamage=false
[input]
rawMouse=yes
escapeKey=KEY_INSERT
[egl]
vsync=yes
[opengl]
vsync=yes
[win]
jitRender=yes
'';
}