From aebae96fd762b54edf9e0519b12412259f90455b Mon Sep 17 00:00:00 2001 From: Alex Stan <90788596+Ultra980@users.noreply.github.com> Date: Sat, 6 May 2023 08:51:59 +0300 Subject: [PATCH] ez update go brr + sudo rm virtualbox + LaTeSt KeRnEl (arch who?) Signed-off-by: Alex Stan --- flake.lock | 24 ++++++++++++------------ ultrapc/configuration.nix | 5 +++-- update | 1 + 3 files changed, 16 insertions(+), 14 deletions(-) create mode 100755 update diff --git a/flake.lock b/flake.lock index 137b6e3..3adef73 100644 --- a/flake.lock +++ b/flake.lock @@ -204,11 +204,11 @@ ] }, "locked": { - "lastModified": 1683212293, - "narHash": "sha256-kbESBAW+TmP5nUKeeHzpXLb11ntdFVTR69pnRCsTVbo=", + "lastModified": 1683276747, + "narHash": "sha256-T3st1VBg3wmhHyBQb0z12sTSGsQgiu3mxkS61nLO8Xs=", "owner": "nix-community", "repo": "home-manager", - "rev": "ae6d5466bf3ee61f5565f1631a787a7eda68c99d", + "rev": "669669fcb403e3137dfe599bbcc26e60502c3543", "type": "github" }, "original": { @@ -246,11 +246,11 @@ "ws-butler": "ws-butler" }, "locked": { - "lastModified": 1682645493, - "narHash": "sha256-U3TqEcBM7QSqX0B9vQYIdB/9Ls7SE6BzM4XNDpM0Lpg=", + "lastModified": 1683249650, + "narHash": "sha256-NwBzz2CHNtT0oDqAGewByQ5OFnAWf+ewHUrK0F44xZk=", "owner": "nix-community", "repo": "nix-doom-emacs", - "rev": "33db1786e0352cad4227fb931ac96c4e2e89de29", + "rev": "588ccf37fa9eb9d2ec787b91c989dcd6892983e9", "type": "github" }, "original": { @@ -327,11 +327,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1683014792, - "narHash": "sha256-6Va9iVtmmsw4raBc3QKvQT2KT/NGRWlvUlJj46zN8B8=", + "lastModified": 1683286087, + "narHash": "sha256-xseOd7W7xwF5GOF2RW8qhjmVGrKoBz+caBlreaNzoeI=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "1a411f23ba299db155a5b45d5e145b85a7aafc42", + "rev": "3e313808bd2e0a0669430787fb22e43b2f4bf8bf", "type": "github" }, "original": { @@ -376,11 +376,11 @@ "org": { "flake": false, "locked": { - "lastModified": 1682449610, - "narHash": "sha256-1I9Rpnyp9rZTYG48oxxN+scKoKTJxh/ya787zI0xIpI=", + "lastModified": 1683136293, + "narHash": "sha256-PMHNr3Qo62uqO5IUDAfxUoqa4Zvb9y2J76pRYDB/6Y4=", "owner": "emacs-straight", "repo": "org-mode", - "rev": "eaf274909f595ba29b853031e1c5bcdac255fbeb", + "rev": "080710797ad25e76c4556d2b03cc0aa5313cd187", "type": "github" }, "original": { diff --git a/ultrapc/configuration.nix b/ultrapc/configuration.nix index e9049fb..e6cb503 100644 --- a/ultrapc/configuration.nix +++ b/ultrapc/configuration.nix @@ -16,6 +16,7 @@ in { nix.settings.trusted-users = [ "root" "ultra" ]; boot = { + kernelPackages = pkgs.linuxPackages_latest; # Use the latest kernel loader = { systemd-boot.enable = true; efi = { @@ -168,8 +169,8 @@ in { lxd.enable = true; virtualbox = { host = { - enable = true; - enableExtensionPack = true; + enable = false; # it takes a REALLY long time (and a lot of CPU) to build, and it still doesn't work. + enableExtensionPack = false; # false because this might build it (idk) }; }; diff --git a/update b/update new file mode 100755 index 0000000..d3f9132 --- /dev/null +++ b/update @@ -0,0 +1 @@ +nix flake update && sudo nixos-rebuild switch --flake . --upgrade-all -j 999; nix run . -- switch --flake .