current
This commit is contained in:
parent
24aa0a58e4
commit
76c91fc817
9 changed files with 232 additions and 64 deletions
|
|
@ -1,23 +1,68 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
elf2uf2-rs
|
||||
# alsa-lib
|
||||
# alsa-oss
|
||||
# clang
|
||||
# cmake
|
||||
# libclang
|
||||
# libopus
|
||||
# opencv
|
||||
# openssl
|
||||
# pkg-config
|
||||
# pkgconfig
|
||||
# rustup
|
||||
# udev
|
||||
expat
|
||||
fontconfig
|
||||
freetype
|
||||
freetype.dev
|
||||
libGL
|
||||
pkgconfig
|
||||
xorg.libX11
|
||||
xorg.libXcursor
|
||||
xorg.libXi
|
||||
xorg.libXrandr
|
||||
bacon
|
||||
unstable.cargo
|
||||
unstable.cargo-feature
|
||||
unstable.cargo-rr
|
||||
clang-tools
|
||||
unstable.clippy
|
||||
unstable.elf2uf2-rs
|
||||
etcher
|
||||
gcc
|
||||
gdb
|
||||
lldb
|
||||
rustup
|
||||
unstable.rust-analyzer
|
||||
unstable.rustfmt
|
||||
unstable.cargo-edit
|
||||
bacon
|
||||
cargo-feature
|
||||
# cmake
|
||||
# clang
|
||||
# pkg-config
|
||||
# udev
|
||||
# libclang
|
||||
unstable.rustc
|
||||
unstable.sccache
|
||||
vulkan-loader
|
||||
];
|
||||
|
||||
# environment.variables = {
|
||||
# LIBCLANG_PATH = pkgs.lib.makeLibraryPath [ pkgs.libclang.lib ];
|
||||
# };
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"electron-12.2.3"
|
||||
];
|
||||
|
||||
environment.variables = {
|
||||
# LIBCLANG_PATH = pkgs.lib.makeLibraryPath [ pkgs.libclang.lib ];
|
||||
# LD_LIBRARY_PATH =
|
||||
# builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" pkgs;
|
||||
LD_LIBRARY_PATH = builtins.foldl' (a: b: "${a}:${b}/lib") "${pkgs.vulkan-loader}/lib" [
|
||||
pkgs.expat
|
||||
pkgs.fontconfig
|
||||
pkgs.freetype
|
||||
pkgs.freetype.dev
|
||||
pkgs.libGL
|
||||
pkgs.pkgconfig
|
||||
pkgs.xorg.libX11
|
||||
pkgs.xorg.libXcursor
|
||||
pkgs.xorg.libXi
|
||||
pkgs.xorg.libXrandr
|
||||
pkgs.vulkan-loader
|
||||
];
|
||||
};
|
||||
|
||||
services.udev.extraRules = ''
|
||||
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic GDB Server", SYMLINK+="ttyBmpGdb"
|
||||
|
|
|
|||
|
|
@ -1,9 +1,11 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
lutris
|
||||
mangohud
|
||||
prismlauncher
|
||||
unstable.lutris
|
||||
unstable.mangohud
|
||||
unstable.prismlauncher
|
||||
wine
|
||||
unstable.heroic
|
||||
# unstable.parsec-bin
|
||||
];
|
||||
|
||||
programs.steam.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,23 +1,37 @@
|
|||
{ ... }: {
|
||||
services.rpcbind.enable = true;
|
||||
systemd.mounts = let commonMountOptions = { type = "nfs"; mountConfig = { Options = "noatime"; }; }; in
|
||||
systemd.mounts =
|
||||
let
|
||||
opts = {
|
||||
type = "cifs";
|
||||
mountConfig = { Options = "credentials=/etc/nixos/smb-secrets,noatime,uid=1000,gid=100"; };
|
||||
};
|
||||
in
|
||||
[
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/anime"; where = "/mnt/uwuraid/anime"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/backup"; where = "/mnt/uwuraid/backup"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/everything"; where = "/mnt/uwuraid/everything"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/movies"; where = "/mnt/uwuraid/movies"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/photos"; where = "/mnt/uwuraid/photos"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/syncthing"; where = "/mnt/uwuraid/syncthing"; })
|
||||
(commonMountOptions // { what = "100.86.160.104:/mnt/user/television"; where = "/mnt/uwuraid/television"; })
|
||||
(opts // { what = "//100.86.160.104/anime"; where = "/mnt/uwuraid/anime"; })
|
||||
(opts // { what = "//100.86.160.104/backup"; where = "/mnt/uwuraid/backup"; })
|
||||
(opts // { what = "//100.86.160.104/everything"; where = "/mnt/uwuraid/everything"; })
|
||||
(opts // { what = "//100.86.160.104/movies"; where = "/mnt/uwuraid/movies"; })
|
||||
(opts // { what = "//100.86.160.104/music"; where = "/mnt/uwuraid/music"; })
|
||||
(opts // { what = "//100.86.160.104/photos"; where = "/mnt/uwuraid/photos"; })
|
||||
(opts // { what = "//100.86.160.104/syncthing"; where = "/mnt/uwuraid/syncthing"; })
|
||||
(opts // { what = "//100.86.160.104/television"; where = "/mnt/uwuraid/television"; })
|
||||
];
|
||||
systemd.automounts = let commonAutoMountOptions = { wantedBy = [ "multi-user.target" ]; automountConfig = { TimeoutIdleSec = "60"; }; }; in
|
||||
systemd.automounts =
|
||||
let
|
||||
opts = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
automountConfig = { TimeoutIdleSec = "60"; };
|
||||
};
|
||||
in
|
||||
[
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/anime"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/backup"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/everything"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/movies"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/photos"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/syncthing"; })
|
||||
(commonAutoMountOptions // { where = "/mnt/uwuraid/television"; })
|
||||
(opts // { where = "/mnt/uwuraid/anime"; })
|
||||
(opts // { where = "/mnt/uwuraid/backup"; })
|
||||
(opts // { where = "/mnt/uwuraid/everything"; })
|
||||
(opts // { where = "/mnt/uwuraid/movies"; })
|
||||
(opts // { where = "/mnt/uwuraid/music"; })
|
||||
(opts // { where = "/mnt/uwuraid/photos"; })
|
||||
(opts // { where = "/mnt/uwuraid/syncthing"; })
|
||||
(opts // { where = "/mnt/uwuraid/television"; })
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue