mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
fix: formatting
This commit is contained in:
parent
12a55d533e
commit
36281c725e
6 changed files with 13 additions and 20 deletions
|
|
@ -1,5 +1,4 @@
|
|||
{
|
||||
pkgsUnstable,
|
||||
pkgs,
|
||||
config,
|
||||
...
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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 = {
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
pkgsUnstable,
|
||||
...
|
||||
}: {
|
||||
{pkgsUnstable, ...}: {
|
||||
environment.systemPackages = with pkgsUnstable; [
|
||||
jujutsu
|
||||
jjui
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue