mirror of
https://codeberg.org/jopejoe1/nix-conf.git
synced 2025-07-22 12:05:21 +02:00
run nix fmt
This commit is contained in:
parent
eab8e4b1d8
commit
d5cbe31c02
61 changed files with 1299 additions and 830 deletions
|
@ -1,4 +1,11 @@
|
|||
{ config, pkgs, lib, nixos-hardware, self, ... }:
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
nixos-hardware,
|
||||
self,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
@ -105,25 +112,25 @@
|
|||
environment.systemPackages = with pkgs; [
|
||||
localPkgs.prismlauncher-withExtraStuff
|
||||
mixxx
|
||||
(picard.overrideAttrs{
|
||||
dontUseSetuptoolsCheck = true;
|
||||
})
|
||||
(picard.overrideAttrs { dontUseSetuptoolsCheck = true; })
|
||||
goverlay
|
||||
(strawberry-qt6.overrideAttrs (finalAttrs: previousAttrs: {
|
||||
version = "1.1.0-rc3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "strawberrymusicplayer";
|
||||
repo = "strawberry";
|
||||
rev = "1.1.0-rc3";
|
||||
hash = "sha256-4LhFxCi0ixMAjVaNVrQrLc0Vf1Z2dhnw6DTfTqtpiC4=";
|
||||
};
|
||||
buildInputs = previousAttrs.buildInputs ++ [
|
||||
kdsingleapplication
|
||||
gst_all_1.gst-plugins-rs
|
||||
kdePackages.qtsvg
|
||||
kdePackages.qtimageformats
|
||||
];
|
||||
}))
|
||||
(strawberry-qt6.overrideAttrs (
|
||||
finalAttrs: previousAttrs: {
|
||||
version = "1.1.0-rc3";
|
||||
src = fetchFromGitHub {
|
||||
owner = "strawberrymusicplayer";
|
||||
repo = "strawberry";
|
||||
rev = "1.1.0-rc3";
|
||||
hash = "sha256-4LhFxCi0ixMAjVaNVrQrLc0Vf1Z2dhnw6DTfTqtpiC4=";
|
||||
};
|
||||
buildInputs = previousAttrs.buildInputs ++ [
|
||||
kdsingleapplication
|
||||
gst_all_1.gst-plugins-rs
|
||||
kdePackages.qtsvg
|
||||
kdePackages.qtimageformats
|
||||
];
|
||||
}
|
||||
))
|
||||
libreoffice-qt
|
||||
jitsi-meet-electron
|
||||
thunderbird
|
||||
|
@ -139,9 +146,7 @@
|
|||
gamemode.enable = true;
|
||||
appimage = {
|
||||
enable = true;
|
||||
package = pkgs.appimage-run.override {
|
||||
extraPkgs = pkgs: [ pkgs.brotli ];
|
||||
};
|
||||
package = pkgs.appimage-run.override { extraPkgs = pkgs: [ pkgs.brotli ]; };
|
||||
};
|
||||
gnupg.agent = {
|
||||
enable = true;
|
||||
|
@ -150,13 +155,28 @@
|
|||
};
|
||||
};
|
||||
|
||||
nix.settings.system-features = [ "gccarch-alderlake" "benchmark" "big-parallel" "kvm" "nixos-test" ]
|
||||
++ map (x: "gccarch-${x}") (lib.systems.architectures.inferiors.alderlake or [ ]);
|
||||
nix.settings.system-features = [
|
||||
"gccarch-alderlake"
|
||||
"benchmark"
|
||||
"big-parallel"
|
||||
"kvm"
|
||||
"nixos-test"
|
||||
] ++ map (x: "gccarch-${x}") (lib.systems.architectures.inferiors.alderlake or [ ]);
|
||||
|
||||
boot.binfmt.emulatedSystems = [ "riscv64-linux" "aarch64-linux" ];
|
||||
boot.binfmt.emulatedSystems = [
|
||||
"riscv64-linux"
|
||||
"aarch64-linux"
|
||||
];
|
||||
|
||||
programs.nix-ld = {
|
||||
enable = true;
|
||||
libraries = with pkgs; [ libz xz xorg.libX11 freetype zstd dbus ];
|
||||
libraries = with pkgs; [
|
||||
libz
|
||||
xz
|
||||
xorg.libX11
|
||||
freetype
|
||||
zstd
|
||||
dbus
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,7 +1,12 @@
|
|||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, modulesPath, ... }:
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
modulesPath,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
|
||||
|
@ -20,9 +25,20 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.initrd.availableKernelModules = [ "vmd" "xhci_pci" "ahci" "nvme" "usbhid" "sd_mod" "sr_mod" ];
|
||||
boot.initrd.availableKernelModules = [
|
||||
"vmd"
|
||||
"xhci_pci"
|
||||
"ahci"
|
||||
"nvme"
|
||||
"usbhid"
|
||||
"sd_mod"
|
||||
"sr_mod"
|
||||
];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ "kvm-intel" "nouveau" ];
|
||||
boot.kernelModules = [
|
||||
"kvm-intel"
|
||||
"nouveau"
|
||||
];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems = {
|
||||
|
@ -38,7 +54,10 @@
|
|||
"/media/gaming" = {
|
||||
device = "/dev/disk/by-uuid/4038F97238F966F6";
|
||||
fsType = "ntfs";
|
||||
options = [ "rw" "uid=1000" ];
|
||||
options = [
|
||||
"rw"
|
||||
"uid=1000"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue