From 14afea9c621440b1790ca14c6413ea6fb93472d2 Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 14 Jan 2024 21:03:18 +0100 Subject: [PATCH] add docker registroy and thefuck --- flake.lock | 66 +++++++++++----------- nixos/homes/common/packages.nix | 3 + nixos/homes/common/terminal.nix | 2 + nixos/machines/chungus/configuration.nix | 2 + nixos/machines/chungus/docker-registry.nix | 3 + 5 files changed, 43 insertions(+), 33 deletions(-) create mode 100644 nixos/machines/chungus/docker-registry.nix diff --git a/flake.lock b/flake.lock index 556b319..630038e 100644 --- a/flake.lock +++ b/flake.lock @@ -156,11 +156,11 @@ ] }, "locked": { - "lastModified": 1704318910, - "narHash": "sha256-wOIJwAsnZhM0NlFRwYJRgO4Lldh8j9viyzwQXtrbNtM=", + "lastModified": 1705075138, + "narHash": "sha256-0slYsXoR1Sd5FwTfFZLYxAsI015+J4lvgvo55u4Gw1A=", "owner": "nix-community", "repo": "disko", - "rev": "aef9a509db64a081186af2dc185654d78dc8e344", + "rev": "f78b6498f69e04514cb84393e5daba669198c1c1", "type": "github" }, "original": { @@ -672,11 +672,11 @@ ] }, "locked": { - "lastModified": 1704099619, - "narHash": "sha256-QRVMkdxLmv+aKGjcgeEg31xtJEIsYq4i1Kbyw5EPS6g=", + "lastModified": 1704980875, + "narHash": "sha256-IPZmMjk5f4TBbEpzUFBc3OC1W6OwDNEXk2w/0uVXX1o=", "owner": "nix-community", "repo": "home-manager", - "rev": "7e398b3d76bc1503171b1364c9d4a07ac06f3851", + "rev": "5f0ab0eedc6ede69beb8f45561ffefa54edc6e65", "type": "github" }, "original": { @@ -714,11 +714,11 @@ }, "locked": { "dir": "nix", - "lastModified": 1703250206, - "narHash": "sha256-YxtVaXb1wq9x1/PFlbHHmxZuEB14+5v0urNwZDEsocQ=", + "lastModified": 1705043220, + "narHash": "sha256-f/c565ktJ5DpN+FG8HirQaz+QJKYRJLjFcp0fD0HvsQ=", "owner": "kmonad", "repo": "kmonad", - "rev": "1c4641f063130165516789e842629e437082c5b8", + "rev": "5f1f9cd0fd9f67baa8286347cbfe0e042529f577", "type": "github" }, "original": { @@ -783,11 +783,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1704266875, - "narHash": "sha256-luA5SGmeIRZlgLfSLUuR3eacS63q2bJ0Yywqak5lj3E=", + "lastModified": 1704786394, + "narHash": "sha256-aJM0ln9fMGWw1+tjyl5JZWZ3ahxAA2gw2ZpZY/hkEMs=", "owner": "nixos", "repo": "nixos-hardware", - "rev": "8e34f33464d77bea2d5cf7dc1066647b1ad2b324", + "rev": "b34a6075e9e298c4124e35c3ccaf2210c1f3a43b", "type": "github" }, "original": { @@ -883,11 +883,11 @@ }, "nixpkgs-legacy_2305": { "locked": { - "lastModified": 1704018918, - "narHash": "sha256-erjg/HrpC9liEfm7oLqb8GXCqsxaFwIIPqCsknW5aFY=", + "lastModified": 1704290814, + "narHash": "sha256-LWvKHp7kGxk/GEtlrGYV68qIvPHkU9iToomNFGagixU=", "owner": "nixos", "repo": "nixpkgs", - "rev": "2c9c58e98243930f8cb70387934daa4bc8b00373", + "rev": "70bdadeb94ffc8806c0570eb5c2695ad29f0e421", "type": "github" }, "original": { @@ -899,11 +899,11 @@ }, "nixpkgs-stable": { "locked": { - "lastModified": 1703950681, - "narHash": "sha256-veU5bE4eLOmi7aOzhE7LfZXcSOONRMay0BKv01WHojo=", + "lastModified": 1704290814, + "narHash": "sha256-LWvKHp7kGxk/GEtlrGYV68qIvPHkU9iToomNFGagixU=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "0aad9113182747452dbfc68b93c86e168811fa6c", + "rev": "70bdadeb94ffc8806c0570eb5c2695ad29f0e421", "type": "github" }, "original": { @@ -915,11 +915,11 @@ }, "nixpkgs-unstable": { "locked": { - "lastModified": 1704194953, - "narHash": "sha256-RtDKd8Mynhe5CFnVT8s0/0yqtWFMM9LmCzXv/YKxnq4=", + "lastModified": 1704722960, + "narHash": "sha256-mKGJ3sPsT6//s+Knglai5YflJUF2DGj7Ai6Ynopz0kI=", "owner": "nixos", "repo": "nixpkgs", - "rev": "bd645e8668ec6612439a9ee7e71f7eac4099d4f6", + "rev": "317484b1ead87b9c1b8ac5261a8d2dd748a0492d", "type": "github" }, "original": { @@ -962,11 +962,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1704295289, - "narHash": "sha256-9WZDRfpMqCYL6g/HNWVvXF0hxdaAgwgIGeLYiOhmes8=", + "lastModified": 1704874635, + "narHash": "sha256-YWuCrtsty5vVZvu+7BchAxmcYzTMfolSPP5io8+WYCg=", "owner": "nixos", "repo": "nixpkgs", - "rev": "b0b2c5445c64191fd8d0b31f2b1a34e45a64547d", + "rev": "3dc440faeee9e889fe2d1b4d25ad0f430d449356", "type": "github" }, "original": { @@ -1008,11 +1008,11 @@ }, "nixpkgs_7": { "locked": { - "lastModified": 1703499205, - "narHash": "sha256-lF9rK5mSUfIZJgZxC3ge40tp1gmyyOXZ+lRY3P8bfbg=", + "lastModified": 1704161960, + "narHash": "sha256-QGua89Pmq+FBAro8NriTuoO/wNaUtugt29/qqA8zeeM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "e1fa12d4f6c6fe19ccb59cac54b5b3f25e160870", + "rev": "63143ac2c9186be6d9da6035fa22620018c85932", "type": "github" }, "original": { @@ -1212,11 +1212,11 @@ }, "retiolum": { "locked": { - "lastModified": 1702906007, - "narHash": "sha256-6lx+WZDJyxW5vwdgqHfGPupBIIxXtA5U/+fSXpS3W+I=", + "lastModified": 1704762012, + "narHash": "sha256-/uhrrFIZAdR0VPwpTqNf1bTywVti/BikLRjXaNZYKuE=", "owner": "Mic92", "repo": "retiolum", - "rev": "dfb07640a4b450582fb3a021223c8f801943c1cd", + "rev": "186f7cff7d09c0330be2ae6644eb16ad531a5214", "type": "github" }, "original": { @@ -1367,11 +1367,11 @@ "nixpkgs-stable": "nixpkgs-stable" }, "locked": { - "lastModified": 1703991717, - "narHash": "sha256-XfBg2dmDJXPQEB8EdNBnzybvnhswaiAkUeeDj7fa/hQ=", + "lastModified": 1704908274, + "narHash": "sha256-74W9Yyomv3COGRmKi8zvyA5tL2KLiVkBeaYmYLjXyOw=", "owner": "Mic92", "repo": "sops-nix", - "rev": "cfdbaf68d00bc2f9e071f17ae77be4b27ff72fa6", + "rev": "c0b3a5af90fae3ba95645bbf85d2b64880addd76", "type": "github" }, "original": { diff --git a/nixos/homes/common/packages.nix b/nixos/homes/common/packages.nix index 8333fed..f52c54a 100644 --- a/nixos/homes/common/packages.nix +++ b/nixos/homes/common/packages.nix @@ -17,6 +17,9 @@ with lib; wget curl + # todo : configure this properly + tldr + ]; } (mkIf config.gui.enable { diff --git a/nixos/homes/common/terminal.nix b/nixos/homes/common/terminal.nix index 3ba70d3..7cb7706 100644 --- a/nixos/homes/common/terminal.nix +++ b/nixos/homes/common/terminal.nix @@ -13,6 +13,8 @@ ''; }; + programs.thefuck.enable = true; + # a better cat programs.bat = { enable = true; diff --git a/nixos/machines/chungus/configuration.nix b/nixos/machines/chungus/configuration.nix index fa92d64..7549a39 100644 --- a/nixos/machines/chungus/configuration.nix +++ b/nixos/machines/chungus/configuration.nix @@ -57,6 +57,8 @@ ./vault.nix + ./docker-registry.nix + ]; components.gui.enable = false; diff --git a/nixos/machines/chungus/docker-registry.nix b/nixos/machines/chungus/docker-registry.nix new file mode 100644 index 0000000..b27ab69 --- /dev/null +++ b/nixos/machines/chungus/docker-registry.nix @@ -0,0 +1,3 @@ +{ + services.dockerRegistry.enable = true; +}