Cleanup lib use, move to std where possible, use upstream nvim module

This commit is contained in:
Kat Inskip 2023-07-30 10:02:03 -07:00
parent aa5c67c13a
commit 11dd6aabd5
Signed by: kat
GPG key ID: 465E64DECEA8CF0F
19 changed files with 53 additions and 515 deletions

View file

@ -3,10 +3,10 @@ _: let
tree,
pkgs,
inputs,
lib,
std,
...
}: let
inherit (lib.strings) concatStringsSep;
inherit (std) string;
in {
imports = with tree; [
kat.work
@ -65,7 +65,7 @@ _: let
home-manager.users.kat = {
home.file.".orbstack/ssh/authorized_keys".text =
(concatStringsSep "\n" tree.kat.user.data.keys)
(string.concatSep "\n" tree.kat.user.data.keys)
+ ''
ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILW2V8yL2vC/KDmIQdxhEeevKo1vGG18bvMNj9mLL/On

View file

@ -4,7 +4,9 @@ _: let
tree,
modulesPath,
...
}: {
}: let
inherit (lib.modules) mkDefault;
in {
imports =
[
(modulesPath + "/profiles/qemu-guest.nix")
@ -44,7 +46,7 @@ _: let
domain = "gensokyo.zone";
interfaces = {
enp1s0 = {
useDHCP = lib.mkDefault true;
useDHCP = mkDefault true;
ipv6.addresses = [
{
address = "2a01:4ff:1f0:e7bb::1";