mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-09 04:19:19 -08:00
Cleanup lib use, move to std where possible, use upstream nvim module
This commit is contained in:
parent
aa5c67c13a
commit
11dd6aabd5
19 changed files with 53 additions and 515 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue