iog: converted to flake

This commit is contained in:
Serĉanto de Scio 2023-08-03 21:42:12 +10:00
parent f74670874d
commit 5a97ed348e
Signed by: sercanto
GPG key ID: A4122FF3971B6865

View file

@ -3,15 +3,13 @@
config, config,
pkgs, pkgs,
lib, lib,
nix,
... ...
}: let }: {
sources = import ../nix/sources.nix;
nixVersion = (import sources.nixpkgs {}).nixVersions.latest;
in {
imports = [../profiles/terminal-recording.nix ../profiles/nix-direnv.nix]; imports = [../profiles/terminal-recording.nix ../profiles/nix-direnv.nix];
nix = { nix = {
package = nixVersion; package = nix;
settings = { settings = {
substituters = [ substituters = [
"https://cache.nixos.org" "https://cache.nixos.org"