misc
This commit is contained in:
parent
1720cb6c9b
commit
0363953a84
6 changed files with 15 additions and 22 deletions
|
@ -14,11 +14,7 @@
|
||||||
"steam-unwrapped"
|
"steam-unwrapped"
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.permittedInsecurePackages = [
|
nixpkgs.config.permittedInsecurePackages = [];
|
||||||
"jitsi-meet-1.0.8043"
|
|
||||||
"electron-28.3.3"
|
|
||||||
"electron-27.3.11"
|
|
||||||
];
|
|
||||||
|
|
||||||
documentation = {
|
documentation = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
@ -37,18 +33,10 @@
|
||||||
settings = {
|
settings = {
|
||||||
# hardlink duplicate files in the nix store
|
# hardlink duplicate files in the nix store
|
||||||
auto-optimise-store = true;
|
auto-optimise-store = true;
|
||||||
|
experimental-features = [ "nix-command" "flakes" "pipe-operators" ];
|
||||||
|
builders-use-substitutes = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
extraOptions = ''
|
|
||||||
experimental-features = nix-command flakes
|
|
||||||
|
|
||||||
# keep intermediary deps alive (no redownloading to rebuild after gc)
|
|
||||||
keep-outputs = true
|
|
||||||
keep-derivations = true
|
|
||||||
|
|
||||||
builders-use-substitutes = true
|
|
||||||
'';
|
|
||||||
|
|
||||||
# flake registries are used by the new nix commands.
|
# flake registries are used by the new nix commands.
|
||||||
# this binds the nixpkgs registry to the one in `flake.nix`.
|
# this binds the nixpkgs registry to the one in `flake.nix`.
|
||||||
registry = {
|
registry = {
|
||||||
|
@ -72,7 +60,7 @@
|
||||||
speedFactor = 100;
|
speedFactor = 100;
|
||||||
maxJobs = 16;
|
maxJobs = 16;
|
||||||
sshUser = "nix-remote-build";
|
sshUser = "nix-remote-build";
|
||||||
sshKey = "/root/.ssh/id_build_server";
|
sshKey = "/root/.ssh/id_ed25519";
|
||||||
} ];
|
} ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
kwrite = final.kdePackages.callPackage ./kwrite.nix {};
|
kwrite = final.kdePackages.callPackage ./kwrite.nix {};
|
||||||
mcontrolcenter = final.callPackage ./mcontrolcenter.nix {};
|
mcontrolcenter = final.callPackage ./mcontrolcenter.nix {};
|
||||||
cantata = final.qt6Packages.callPackage ./cantata {};
|
cantata = final.qt6Packages.callPackage ./cantata {};
|
||||||
|
tws = final.callPackage ./tws.nix {};
|
||||||
})
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -153,8 +153,8 @@ in stdenv.mkDerivation {
|
||||||
$out/tws -J-DjtsConfigDir="\$TWS_DIR"
|
$out/tws -J-DjtsConfigDir="\$TWS_DIR"
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
mkdir -p "$out/share/icons/hicolor/128x128"
|
mkdir -p "$out/share/icons/hicolor/128x128/apps"
|
||||||
mv "$out/.install4j/tws.png" "$out/share/icons/hicolor/128x128/tws.png"
|
mv "$out/.install4j/tws.png" "$out/share/icons/hicolor/128x128/apps/tws.png"
|
||||||
|
|
||||||
mkdir -p "$out/share/applications"
|
mkdir -p "$out/share/applications"
|
||||||
cat <<EOF > "$out/share/applications/tws.desktop"
|
cat <<EOF > "$out/share/applications/tws.desktop"
|
||||||
|
|
|
@ -41,7 +41,7 @@
|
||||||
dnssec = "false";
|
dnssec = "false";
|
||||||
};
|
};
|
||||||
|
|
||||||
services.dnsmasq = {
|
/*services.dnsmasq = {
|
||||||
enable = true;
|
enable = true;
|
||||||
resolveLocalQueries = false;
|
resolveLocalQueries = false;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
address = [ "/foo.site/127.1.0.1" ];
|
address = [ "/foo.site/127.1.0.1" ];
|
||||||
server = [ "9.9.9.9" ];
|
server = [ "9.9.9.9" ];
|
||||||
};
|
};
|
||||||
};
|
};*/
|
||||||
|
|
||||||
systemd.network = {
|
systemd.network = {
|
||||||
networks.wlp4s0 = {
|
networks.wlp4s0 = {
|
||||||
|
@ -61,7 +61,7 @@
|
||||||
dhcpV6Config.UseDNS = "no";
|
dhcpV6Config.UseDNS = "no";
|
||||||
};
|
};
|
||||||
|
|
||||||
wait-online.anyInterface = true;
|
wait-online.enable = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
# removable disks in file manager
|
# removable disks in file manager
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
rust-analyzer
|
rust-analyzer
|
||||||
clang-tools_16
|
clang-tools
|
||||||
jdt-language-server
|
jdt-language-server
|
||||||
kotlin-language-server
|
kotlin-language-server
|
||||||
typescript-language-server
|
typescript-language-server
|
||||||
|
@ -9,6 +9,7 @@
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
glslls
|
glslls
|
||||||
zls
|
zls
|
||||||
|
eslint
|
||||||
|
|
||||||
bear
|
bear
|
||||||
gdb
|
gdb
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
|
|
||||||
programs.steam = {
|
programs.steam = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
protontricks.enable = true;
|
||||||
extraCompatPackages = [
|
extraCompatPackages = [
|
||||||
pkgs.proton-ge-bin
|
pkgs.proton-ge-bin
|
||||||
];
|
];
|
||||||
|
@ -134,6 +135,8 @@
|
||||||
freetube
|
freetube
|
||||||
jujutsu
|
jujutsu
|
||||||
|
|
||||||
|
tws
|
||||||
|
|
||||||
distrobox
|
distrobox
|
||||||
xdg-utils
|
xdg-utils
|
||||||
light
|
light
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue