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, pkgs,
config, config,
... ...

View file

@ -41,7 +41,7 @@ in {
color: #DAD8CE; color: #DAD8CE;
border-bottom: 2px solid #CF6A4C; border-bottom: 2px solid #CF6A4C;
} }
#workspaces button.focused { #workspaces button.focused {
background: #CF6A4C; background: #CF6A4C;
color: #1C1B1A; color: #1C1B1A;
@ -296,7 +296,7 @@ in {
}; };
outputs = lib.mkIf (config.monitors != []) ( outputs = lib.mkIf (config.monitors != []) (
lib.listToAttrs (map (monitor: { lib.listToAttrs (map (monitor: {
inherit (monitor) name; inherit (monitor) name;
value = { value = {
inherit (monitor) position; inherit (monitor) position;

View file

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

View file

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

View file

@ -21,7 +21,7 @@ in {
mode = "0600"; mode = "0600";
owner = username; owner = username;
}; };
fireproof.home-manager = { fireproof.home-manager = {
home.file.".ssh/id_ed25519.pub".source = ../../secrets/hosts + ("/" + hostname) + "/id_ed25519.pub"; home.file.".ssh/id_ed25519.pub".source = ../../secrets/hosts + ("/" + hostname) + "/id_ed25519.pub";
programs.ssh = { programs.ssh = {
@ -55,6 +55,7 @@ in {
}; };
"scw.ao" = { "scw.ao" = {
user = "nij"; user = "nij";
hostname = "51.15.81.1";
proxyJump = lib.mkDefault "dev.ao"; proxyJump = lib.mkDefault "dev.ao";
identityFile = "${config.age.secrets.ssh-key-ao.path}"; identityFile = "${config.age.secrets.ssh-key-ao.path}";
}; };
@ -83,13 +84,13 @@ in {
systemd.user.services."add-ssh-keys" = { systemd.user.services."add-ssh-keys" = {
description = "Add SSH keys to ssh-agent"; description = "Add SSH keys to ssh-agent";
after = [ "network.target" "ssh-agent.service" ]; after = ["network.target" "ssh-agent.service"];
requires = [ "ssh-agent.service" ]; requires = ["ssh-agent.service"];
wantedBy = [ "default.target" ]; wantedBy = ["default.target"];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStartPre='' ExecStartPre = ''
${pkgs.coreutils}/bin/sleep 5 ${pkgs.coreutils}/bin/sleep 5
''; '';
ExecStart = '' ExecStart = ''
${pkgs.openssh}/bin/ssh-add -q ${config.age.secrets.ssh-key-ao.path} ${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; [ environment.systemPackages = with pkgsUnstable; [
jujutsu jujutsu
jjui jjui