From 279e4cebd49578d049e9f7312288a0df7077c455 Mon Sep 17 00:00:00 2001 From: Lyes Saadi Date: Tue, 20 Aug 2024 18:17:33 +0200 Subject: [PATCH] Adding parsec & Reboot Timeout & Update --- flake.lock | 6 +++--- flake.nix | 1 + general/networking.nix | 2 +- general/system.nix | 7 ++++++- general/user/packages.nix | 1 + specific/lyes-pc/configuration.nix | 1 + 6 files changed, 13 insertions(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index c5b948c..ad99a80 100644 --- a/flake.lock +++ b/flake.lock @@ -54,11 +54,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1723362943, - "narHash": "sha256-dFZRVSgmJkyM0bkPpaYRtG/kRMRTorUIDj8BxoOt1T4=", + "lastModified": 1723637854, + "narHash": "sha256-med8+5DSWa2UnOqtdICndjDAEjxr5D7zaIiK4pn0Q7c=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "a58bc8ad779655e790115244571758e8de055e3d", + "rev": "c3aa7b8938b17aebd2deecf7be0636000d62a2b9", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index fafc5e7..e523373 100644 --- a/flake.nix +++ b/flake.nix @@ -3,6 +3,7 @@ inputs = { nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; + # nixpkgs.url = "github:LyesSaadi/nixpkgs/unstablegnome47"; home-manager.url = "github:nix-community/home-manager"; home-manager.inputs.nixpkgs.follows = "nixpkgs"; nixos-hardware.url = "github:NixOS/nixos-hardware/master"; diff --git a/general/networking.nix b/general/networking.nix index b186bd7..6ba1903 100644 --- a/general/networking.nix +++ b/general/networking.nix @@ -33,7 +33,7 @@ # Firewall networking.firewall.allowedTCPPorts = [ 24872 8998 ]; networking.firewall.allowedUDPPorts = [ 24872 8998 ]; - #networking.firewall.enable = false; + # networking.firewall.enable = false; # Network services #services.openssh.enable = true; diff --git a/general/system.nix b/general/system.nix index 4bbde4f..70cf9a1 100644 --- a/general/system.nix +++ b/general/system.nix @@ -1,4 +1,4 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: { # OS Configuration @@ -12,6 +12,11 @@ zramSwap.enable = true; + # Reboot Timeout + systemd.extraConfig = '' + DefaultTimeoutStopSec=10s + ''; + # Firmware services.fwupd.enable = true; services.fprintd.enable = true; diff --git a/general/user/packages.nix b/general/user/packages.nix index 7d4a669..21aee31 100644 --- a/general/user/packages.nix +++ b/general/user/packages.nix @@ -84,6 +84,7 @@ in { vvvvvv ryujinx dolphin-emu + parsec-bin # Nix home-manager diff --git a/specific/lyes-pc/configuration.nix b/specific/lyes-pc/configuration.nix index 0aa40a0..917e6b9 100644 --- a/specific/lyes-pc/configuration.nix +++ b/specific/lyes-pc/configuration.nix @@ -115,6 +115,7 @@ "--no-suite" "fprintd" ]; }); + libsrtp = prev.libsrtp.overrideAttrs (_: { doCheck = false; }); # # haskellPackages.crypton = pkgs.haskell.lib.overrideCabal prev.crypton (_: { doCheck = false; }); # # haskellPackages.cryptonite = pkgs.haskell.lib.overrideCabal prev.cryptonite (_: { doCheck = false; }); }) ];