dotfiles/home/hosts/nixmsi.nix

94 lines
2.5 KiB
Nix
Raw Normal View History

2023-12-18 08:48:49 +07:00
{ pkgs
, lib
, inputs,
...
}:
2023-01-24 02:24:40 +07:00
{
imports = [
2023-12-24 14:27:43 +07:00
../modules/general.nix
../modules/firefox.nix
../modules/i3-sway.nix
../modules/nvim.nix
../modules/helix.nix
2024-03-19 15:30:38 +07:00
# ../modules/kakoune.nix
2023-12-18 08:48:49 +07:00
inputs.nur.nixosModules.nur
2023-01-24 02:24:40 +07:00
];
nix.settings = {
trusted-public-keys = [
"binarycache.pavluk.org:Vk0ms/vSqoOV2JXeNVOroc8EfilgVxCCUtpCShGIKsQ="
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
# "nixpkgs-wayland.cachix.org-1:3lwxaILxMRkVhehr5StQprHdEo4IrE8sRho9R9HOLYA="
];
trusted-substituters = [
"https://binarycache.pavluk.org"
"https://cache.nixos.org"
"https://nix-gaming.cachix.org"
# "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-12-24 14:27:43 +07:00
terminals = [ "kitty" ];
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-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}";
CARGO_PROFILE_DEV_INCREMENTAL = "true";
# RUSTC_LINKER = "${pkgs.clang_latest}/bin/clang";
# RUSTFLAGS = "-C link-arg=--ld-path=${pkgs.mold}/bin/mold";
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-12-22 19:22:17 +07:00
anki-bin
2023-11-21 04:46:52 +07:00
(gimp.overrideAttrs (old: { doCheck = false; })) krita blender-hip
kdenlive glaxnimate mediainfo
2023-08-14 03:50:27 +07:00
ghidra (cutter.withPlugins (p: with p; [ sigdb rz-ghidra ]))
openrgb piper
2023-01-24 02:24:40 +07:00
steam-run steam
2023-07-28 14:20:39 +07:00
# faf-client
(osu-lazer-bin.override {
2023-10-08 08:23:48 +07:00
command_prefix = "env SDL_VIDEODRIVER=wayland ${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
# wineWowPackages.waylandFull
2023-01-24 02:24:40 +07:00
winetricks
# protontricks # proton-caller
2023-02-20 00:49:39 +07:00
# bottles
2023-09-13 17:20:18 +07:00
virt-manager looking-glass-client
clang_latest mold
rustc rustfmt cargo clippy
lalrpop
tio
tdesktop
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
escapeKey=KEY_RIGHTALT
2023-01-24 02:24:40 +07:00
'';
}