mirror of
https://github.com/materusPL/nixos-config
synced 2026-07-02 12:46:42 +00:00
configurations: add vk basalt, add hp drivers, vim changes
This commit is contained in:
@@ -13,6 +13,7 @@ let
|
||||
inherit host;
|
||||
inherit hm;
|
||||
inherit hmAsModule;
|
||||
inherit arch;
|
||||
nixerus = if stable then inputs.configInputs-stable.nixerus else inputs.configInputs.nixerus;
|
||||
configInputs = if stable then inputs.configInputs-stable else inputs.configInputs;
|
||||
path = materusFlake.selfPath;
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
vaapiVdpau
|
||||
libvdpau-va-gl
|
||||
amdvlk
|
||||
vkbasalt
|
||||
rocmPackages.clr.icd
|
||||
rocmPackages.clr
|
||||
materusArg.pkgs.amdgpu-pro-libs.vulkan
|
||||
@@ -40,6 +41,7 @@
|
||||
];
|
||||
hardware.opengl.extraPackages32 = with pkgs.pkgsi686Linux; [
|
||||
vaapiVdpau
|
||||
vkbasalt
|
||||
pkgs.driversi686Linux.amdvlk
|
||||
materusArg.pkgs.i686Linux.amdgpu-pro-libs.vulkan
|
||||
libvdpau-va-gl
|
||||
|
||||
@@ -72,5 +72,5 @@ in
|
||||
kdePackages.ark
|
||||
];
|
||||
programs.kdeconnect.enable = true;
|
||||
materus.profile.steam.extraPkgs = [ pkgs.kdePackages.breeze pkgs.kdePackages.breeze-gtk pkgs.kdePackages.dolphin pkgs.vlc ];
|
||||
materus.profile.steam.extraPkgs = [ pkgs.kdePackages.breeze pkgs.kdePackages.breeze-gtk pkgs.kdePackages.dolphin pkgs.vlc pkgs.vkbasalt-cli ];
|
||||
}
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{config, pkgs, materusArg, ...}:
|
||||
{ config, pkgs, materusArg, ... }:
|
||||
{
|
||||
|
||||
services.jackett.enable = true;
|
||||
services.jackett.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
environment.systemPackages = with pkgs; [
|
||||
#(pkgs.lutris.override { extraLibraries = pkgs: with pkgs; [ pkgs.samba pkgs.jansson pkgs.tdb pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango ]; })
|
||||
materusArg.pkgs.amdgpu-pro-libs.prefixes
|
||||
(pkgs.bottles.override { extraPkgs = pkgs: [ pkgs.libsForQt5.breeze-qt5 pkgs.kdePackages.breeze-gtk pkgs.nss_latest ]; extraLibraries = pkgs: [ pkgs.samba pkgs.jansson pkgs.tdb pkgs.libunwind pkgs.libusb1 pkgs.gnutls pkgs.gtk3 pkgs.pango ]; })
|
||||
@@ -15,7 +15,8 @@
|
||||
kdePackages.dolphin
|
||||
vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
vlc
|
||||
|
||||
vkbasalt-cli
|
||||
|
||||
patchelf
|
||||
killall
|
||||
util-linux
|
||||
@@ -104,7 +105,7 @@
|
||||
|
||||
|
||||
binutils
|
||||
|
||||
|
||||
qbittorrent
|
||||
mkvtoolnix
|
||||
nicotine-plus
|
||||
@@ -113,4 +114,4 @@
|
||||
aegisub
|
||||
audacity
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,6 +76,8 @@
|
||||
"libvirt"
|
||||
"libvirtd"
|
||||
"podman"
|
||||
"scanner"
|
||||
"lp"
|
||||
];
|
||||
shell = pkgs.zsh;
|
||||
description = "Mateusz Słodkowicz";
|
||||
@@ -160,6 +162,9 @@
|
||||
openFirewall = true;
|
||||
autoStart = false;
|
||||
};
|
||||
|
||||
hardware.sane.enable = true;
|
||||
hardware.sane.extraBackends = [ pkgs.hplipWithPlugin ];
|
||||
|
||||
environment.enableAllTerminfo = true;
|
||||
environment.pathsToLink = [ "/share/zsh" "/share/bash-completion" "/share/fish" ];
|
||||
|
||||
@@ -4,6 +4,8 @@ let
|
||||
pkgs = (import materusCfg.nixerus { inherit pkgs; }) //
|
||||
(if pkgs.system == "x86_64-linux" then { i686Linux = import materusCfg.nixerus { pkgs = pkgs.pkgsi686Linux; }; } else { });
|
||||
cfg = materusCfg;
|
||||
unstable = import materusCfg.materusFlake.inputs.nixpkgs { system = materusCfg.arch; config = { allowUnfree = true; nvidia.acceptLicense = true; }; };
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
|
||||
@@ -7,24 +7,29 @@ in
|
||||
config = lib.mkIf cfg.enable {
|
||||
programs.neovim = {
|
||||
enable = true;
|
||||
package = materusArg.unstable.neovim-unwrapped;
|
||||
coc.enable = true;
|
||||
coc.package = materusArg.unstable.vimPlugins.coc-nvim;
|
||||
viAlias = true;
|
||||
vimAlias = true;
|
||||
vimdiffAlias = true;
|
||||
defaultEditor = true;
|
||||
|
||||
|
||||
extraConfig = ''
|
||||
set number
|
||||
'';
|
||||
extraLuaConfig = ''
|
||||
'';
|
||||
|
||||
extraPackages = with pkgs;[
|
||||
];
|
||||
|
||||
plugins = with pkgs.vimPlugins;[
|
||||
plugins = with materusArg.unstable.vimPlugins;[
|
||||
syntastic
|
||||
|
||||
vim-fugitive
|
||||
vim-airline
|
||||
vim-nix
|
||||
|
||||
nvim-fzf
|
||||
nvim-treesitter.withAllGrammars
|
||||
|
||||
|
||||
Reference in New Issue
Block a user