This commit is contained in:
dusk 2022-07-12 03:56:08 +03:00
parent cb63e92418
commit e7df3f6466
Signed by: dusk
GPG Key ID: 1D8F8FAF2294D6EA
2 changed files with 10 additions and 5 deletions

View File

@ -1,5 +1,9 @@
final: prev: {
steam = prev.steam.override {
extraLibraries = pkgs: with pkgs; [mimalloc pipewire vulkan-loader wayland wayland-protocols];
extraProfile = ''
unset VK_ICD_FILENAMES
export VK_ICD_FILENAMES="/run/opengl-driver/share/vulkan/icd.d:/run/opengl-driver-32/share/vulkan/icd.d"
'';
};
}

View File

@ -13,7 +13,9 @@
pkgBin = tlib.pkgBin pkgs;
nixosConfig = globalAttrs.config;
in {
imports = [inputs.hyprland.nixosModules.default];
imports = [
inputs.hyprland.nixosModules.default
];
users.users.patriot = {
isNormalUser = true;
@ -28,6 +30,7 @@ in {
hashedPassword = "$6$spzqhAyJfhHy$iHgLBlhjGn1l8PnbjJdWTn1GPvcjMqYNKUzdCe/7IrX6sHNgETSr/Nfpdmq9FCXLhrAfwHOd/q/8SvfeIeNX4/";
};
environment = {
persistence.${config.system.persistDir}.directories = ["/home/patriot/.local/share/Steam"];
systemPackages = [pkgs.qt5.qtwayland];
shells = with pkgs; [bashInteractive zsh];
};
@ -41,7 +44,7 @@ in {
# this is needed for impermanence
fuse.userAllowOther = true;
adb.enable = true;
steam.enable = false;
steam.enable = true;
kdeconnect.enable = true;
# gnome stuffs
seahorse.enable = true;
@ -94,11 +97,10 @@ in {
builtins.map (n: "${prefix}/${n}") (l.flatten paths);
in {
directories =
[
l.flatten [
"Downloads"
"proj"
# "smos"
# ".steam"
".wine"
# ssh / gpg / keys
".ssh"
@ -112,7 +114,6 @@ in {
++ mkPaths ".local/share" [
"direnv"
"zsh"
# "Steam"
"keyrings"
"lutris"
"PolyMC"