This commit is contained in:
root 2025-11-04 11:31:52 +00:00
parent e856c0dfb1
commit 766f143e51
6 changed files with 23 additions and 28 deletions

View file

@ -1,11 +1,10 @@
{pkgs, ...}:
let updateScript = pkgs.writeShellScriptBin "rebuild" ''
#!/bin/sh
nixos-rebuild switch --flake /etc/nixos#distrust --impure
'';
in
{
environment.systemPackages = with pkgs; [vim btop git alejandra statix deadnix] ++ [ updateScript ];
{pkgs, ...}: let
updateScript = pkgs.writeShellScriptBin "rebuild" ''
#!/bin/sh
nixos-rebuild switch --flake /etc/nixos#distrust --impure
'';
in {
environment.systemPackages = with pkgs; [vim btop git alejandra statix deadnix] ++ [updateScript];
nix.settings.experimental-features = ["nix-command" "flakes"];