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