flake cleanup, removed impermanence

This commit is contained in:
Rouven Seifert 2023-05-18 12:49:06 +02:00
parent 2068b655da
commit 0921151c6e
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
6 changed files with 26 additions and 59 deletions

View file

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
{
environment.variables = { EDITOR = "vim"; };
environment.variables = { EDITOR = "hx"; }; # we set helix in here to have it shared
environment.systemPackages = with pkgs; [
((vim_configurable.override { }).customize {
name = "vim";

View file

@ -53,6 +53,7 @@
zsh-newuser-install () {}
switch() {
sudo true # ask the password so we can leave during the (sometimes quite long) build process
OUT_PATH=/tmp/nixos-rebuild-nom-$(date +%s)
${pkgs.nix-output-monitor}/bin/nom build /etc/nixos#nixosConfigurations.${config.networking.hostName}.config.system.build.toplevel -o $OUT_PATH
sudo ${pkgs.nix}/bin/nix-env -p /nix/var/nix/profiles/system --set $OUT_PATH