2023-04-11 00:58:02 +07:00
|
|
|
{ pkgs, lib, ... }:
|
2023-01-24 02:24:40 +07:00
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
../common/general.nix
|
2023-04-11 00:58:02 +07:00
|
|
|
../common/firefox.nix
|
2023-01-24 02:24:40 +07:00
|
|
|
../common/i3-sway.nix
|
2023-03-18 02:50:38 +07:00
|
|
|
../common/nvim.nix
|
2023-01-24 02:24:40 +07:00
|
|
|
../common/helix.nix
|
|
|
|
../common/kakoune.nix
|
|
|
|
];
|
2023-05-25 11:34:27 +07:00
|
|
|
|
|
|
|
nix.settings = {
|
|
|
|
trusted-public-keys = [
|
2023-07-28 09:59:47 +07:00
|
|
|
"binarycache.pavluk.org:Vk0ms/vSqoOV2JXeNVOroc8EfilgVxCCUtpCShGIKsQ="
|
2023-05-25 11:34:27 +07:00
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
2023-07-12 03:26:50 +07:00
|
|
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
2023-05-25 11:34:27 +07:00
|
|
|
# "nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
|
|
|
|
];
|
|
|
|
trusted-substituters = [
|
2023-07-28 09:59:47 +07:00
|
|
|
"https://binarycache.pavluk.org"
|
2023-05-25 11:34:27 +07:00
|
|
|
"https://cache.nixos.org"
|
2023-07-12 03:26:50 +07:00
|
|
|
"https://nix-gaming.cachix.org"
|
2023-05-25 11:34:27 +07:00
|
|
|
# "https://nixpkgs-wayland.cachix.org"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
|
|
|
"steam-run"
|
|
|
|
"steam"
|
|
|
|
"steam-original"
|
|
|
|
"steam-runtime"
|
|
|
|
"steamcmd"
|
|
|
|
"osu-lazer-bin"
|
|
|
|
];
|
|
|
|
|
2023-01-24 02:24:40 +07:00
|
|
|
home.stateVersion = "22.11";
|
|
|
|
home.username = "user";
|
|
|
|
home.homeDirectory = "/home/user";
|
2023-01-26 03:41:45 +07:00
|
|
|
termShell = {
|
|
|
|
enable = true;
|
2023-02-19 19:09:38 +07:00
|
|
|
path = "${pkgs.fish}/bin/fish";
|
2023-01-26 03:41:45 +07:00
|
|
|
};
|
2023-04-11 01:02:47 +07:00
|
|
|
# xsession.windowManager.i3.enable = true;
|
2023-01-24 02:24:40 +07:00
|
|
|
wayland.windowManager.sway.enable = true;
|
2023-04-11 01:02:47 +07:00
|
|
|
terminals = [ "kitty" "urxvt" ];
|
2023-02-11 23:30:19 +07:00
|
|
|
services.mpd = {
|
|
|
|
enable = true;
|
|
|
|
network.startWhenNeeded = true;
|
|
|
|
};
|
|
|
|
services.mpdris2 = {
|
|
|
|
enable = true;
|
|
|
|
};
|
|
|
|
programs.ncmpcpp = {
|
|
|
|
enable = true;
|
|
|
|
};
|
2023-02-13 21:56:34 +07:00
|
|
|
services.kdeconnect.enable = true;
|
2023-04-11 00:58:02 +07:00
|
|
|
home.sessionVariables = {
|
|
|
|
STEAM_EXTRA_COMPAT_TOOLS_PATHS = "${pkgs.proton-ge}";
|
2023-03-16 23:37:57 +07:00
|
|
|
CARGO_PROFILE_DEV_INCREMENTAL = "true";
|
2023-07-12 03:26:50 +07:00
|
|
|
# RUSTC_LINKER = "${pkgs.clang_latest}/bin/clang";
|
|
|
|
# RUSTFLAGS = "-C link-arg=--ld-path=${pkgs.mold}/bin/mold";
|
2023-03-16 23:37:57 +07:00
|
|
|
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_LINKER = "${pkgs.clang_latest}/bin/clang";
|
|
|
|
CARGO_TARGET_X86_64_UNKNOWN_LINUX_GNU_RUSTFLAGS = "-C link-arg=--ld-path=${pkgs.mold}/bin/mold";
|
2023-02-13 21:56:34 +07:00
|
|
|
};
|
2023-01-24 02:24:40 +07:00
|
|
|
home.packages = with pkgs; [
|
2023-03-16 23:37:57 +07:00
|
|
|
mold
|
2023-07-12 03:26:50 +07:00
|
|
|
ghidra cutter2
|
2023-02-19 19:09:38 +07:00
|
|
|
openrgb piper
|
2023-01-24 02:24:40 +07:00
|
|
|
steam-run steam
|
2023-07-12 03:26:50 +07:00
|
|
|
faf-client
|
2023-06-11 21:48:35 +07:00
|
|
|
(osu-lazer-bin.override {
|
|
|
|
command_prefix = "${obs-studio-plugins.obs-vkcapture}/bin/obs-gamecapture";
|
|
|
|
})
|
2023-04-06 09:45:02 +07:00
|
|
|
taisei
|
2023-04-10 19:21:20 +07:00
|
|
|
techmino
|
2023-04-06 09:45:02 +07:00
|
|
|
(wrapOBS {
|
|
|
|
plugins = with obs-studio-plugins; [ wlrobs obs-vkcapture ];
|
|
|
|
})
|
2023-01-24 02:24:40 +07:00
|
|
|
easyeffects
|
2023-02-11 23:30:19 +07:00
|
|
|
# wineWowPackages.waylandFull
|
2023-01-24 02:24:40 +07:00
|
|
|
winetricks
|
2023-07-12 03:26:50 +07:00
|
|
|
# protontricks # proton-caller
|
2023-02-20 00:49:39 +07:00
|
|
|
# bottles
|
2023-02-11 23:30:19 +07:00
|
|
|
virtmanager
|
2023-05-30 10:02:36 +07:00
|
|
|
gimp krita blender-hip
|
2023-01-24 16:05:19 +07:00
|
|
|
tdesktop
|
2023-03-16 23:37:57 +07:00
|
|
|
clang_latest rustc rustfmt cargo clippy
|
2023-04-06 09:45:02 +07:00
|
|
|
kdenlive
|
|
|
|
mediainfo
|
|
|
|
glaxnimate
|
2023-04-10 19:15:34 +07:00
|
|
|
lalrpop
|
2023-04-11 00:58:02 +07:00
|
|
|
looking-glass-client
|
2023-06-11 18:02:38 +07:00
|
|
|
tio
|
2023-01-24 02:24:40 +07:00
|
|
|
];
|
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
|
|
|
|
|
|
|
|
[input]
|
|
|
|
rawMouse=yes
|
2023-07-28 09:59:47 +07:00
|
|
|
escapeKey=KEY_RIGHTALT
|
2023-01-24 02:24:40 +07:00
|
|
|
'';
|
|
|
|
}
|