fix: formatting

This commit is contained in:
Nickolaj Jepsen 2025-11-26 08:56:56 +01:00
parent 12a55d533e
commit 36281c725e
6 changed files with 13 additions and 20 deletions

View file

@ -1,5 +1,4 @@
{
pkgsUnstable,
pkgs,
config,
...

View file

@ -296,7 +296,7 @@ in {
};
outputs = lib.mkIf (config.monitors != []) (
lib.listToAttrs (map (monitor: {
lib.listToAttrs (map (monitor: {
inherit (monitor) name;
value = {
inherit (monitor) position;

View file

@ -6,8 +6,8 @@
environment.systemPackages = [
(pkgs.symlinkJoin {
name = "uv";
paths = [ pkgsUnstable.uv ];
nativeBuildInputs = [ pkgs.makeWrapper ];
paths = [pkgsUnstable.uv];
nativeBuildInputs = [pkgs.makeWrapper];
postBuild = ''
wrapProgram $out/bin/uv \
--run "export LD_LIBRARY_PATH=\$NIX_LD_LIBRARY_PATH"

View file

@ -1,9 +1,5 @@
# https://github.com/ChangeCaps/nixos-config/tree/0cec356abc0e46ca6ba27b3cf01cd51273bd4a69
{
lib,
config,
...
}: {
{lib, ...}: {
options.monitors = lib.mkOption {
type = lib.types.listOf (lib.types.submodule {
options = {

View file

@ -55,6 +55,7 @@ in {
};
"scw.ao" = {
user = "nij";
hostname = "51.15.81.1";
proxyJump = lib.mkDefault "dev.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}";
};
@ -83,13 +84,13 @@ in {
systemd.user.services."add-ssh-keys" = {
description = "Add SSH keys to ssh-agent";
after = [ "network.target" "ssh-agent.service" ];
requires = [ "ssh-agent.service" ];
wantedBy = [ "default.target" ];
after = ["network.target" "ssh-agent.service"];
requires = ["ssh-agent.service"];
wantedBy = ["default.target"];
serviceConfig = {
Type = "oneshot";
ExecStartPre=''
${pkgs.coreutils}/bin/sleep 5
ExecStartPre = ''
${pkgs.coreutils}/bin/sleep 5
'';
ExecStart = ''
${pkgs.openssh}/bin/ssh-add -q ${config.age.secrets.ssh-key-ao.path}

View file

@ -1,7 +1,4 @@
{
pkgsUnstable,
...
}: {
{pkgsUnstable, ...}: {
environment.systemPackages = with pkgsUnstable; [
jujutsu
jjui