From e2a62161a734232dd711dc08d5991082f3c8e6ac Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Tue, 31 Dec 2024 21:59:24 -0700 Subject: [PATCH] Ghostty --- README.md | 5 +++++ configuration.nix | 1 + unstable.nix | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 README.md create mode 100644 unstable.nix diff --git a/README.md b/README.md new file mode 100644 index 0000000..556b14e --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# My NixOS Config + +## MUST DO: +Run the following before trying this config: +```sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos-unstable``` diff --git a/configuration.nix b/configuration.nix index c9ede9b..5596e8a 100644 --- a/configuration.nix +++ b/configuration.nix @@ -7,6 +7,7 @@ ./apps.nix ./dev.nix ./mounts.nix + ./unstable.nix ]; # Bootloader. diff --git a/unstable.nix b/unstable.nix new file mode 100644 index 0000000..00312b2 --- /dev/null +++ b/unstable.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ...}: +let + baseconfig = { allowUnfree = true; }; + unstable = import { config = baseconfig; }; +in { + environment.systemPackages = with pkgs; [ + unstable.ghostty + ]; +}