From f286c008c9b243b4417ee0db70054e7d56aca22a Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Mon, 8 May 2023 00:58:33 +0200 Subject: [PATCH 1/2] enable (experimental) flake syntax for nix repl --- nixos/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index df6224e..5e1a647 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -246,7 +246,7 @@ in keep-outputs = true; keep-derivations = true; trusted-users = [ "spiollinux" ]; - experimental-features = [ "nix-command" "flakes" ]; + experimental-features = [ "nix-command" "flakes" "repl-flake" ]; # use all cores for building cores = 0; }; From 7059bc55be31e3138c02ee773c8c7a0488a445d0 Mon Sep 17 00:00:00 2001 From: Trolli Schmittlauch Date: Thu, 11 May 2023 22:22:03 +0200 Subject: [PATCH 2/2] switch back to LTS kernel due to Virtualbox build failure --- nixos/configuration.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 5e1a647..538465d 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -20,10 +20,7 @@ in services.davfs2.enable = true; # try newer kernels - boot.kernelPackages = pkgs.linuxPackages_latest; - - # use old kernel because 5.4 and 5.5 might be buggy with intel graphics - #boot.kernelPackages = pkgs.linuxPackages_4_19; + #boot.kernelPackages = pkgs.linuxPackages_latest; services.fstrim.enable = true; services.btrfs.autoScrub = @@ -85,7 +82,7 @@ in # Enable the OpenSSH daemon. # services.openssh.enable = true; - #programs.ssh.startAgent = true; + programs.ssh.startAgent = true; # Open ports in the firewall. # networking.firewall.allowedTCPPorts = [ ... ];