From a3bfc270244791c4f5d3fb9c412cb5943eaaae08 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Fri, 24 May 2024 07:52:22 -0300 Subject: [PATCH 1/3] Don't specify trusted interfaces, it breaks printer auto discovery --- nixos/zerotier.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/zerotier.nix b/nixos/zerotier.nix index 8320657..a96b001 100644 --- a/nixos/zerotier.nix +++ b/nixos/zerotier.nix @@ -7,7 +7,7 @@ in { networking.firewall.trustedInterfaces = privateZeroTierInterfaces; # TRUST VPN ONLY services.avahi.enable = true; - services.avahi.allowInterfaces = privateZeroTierInterfaces; # ONLY BROADCAST ON VPN + #services.avahi.allowInterfaces = privateZeroTierInterfaces; # ONLY BROADCAST ON VPN services.avahi.ipv6 = true; services.avahi.publish.enable = true; services.avahi.publish.userServices = true; From 0a726e9740aef69fa79c7d5feffde176711e6471 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Fri, 24 May 2024 09:20:53 -0300 Subject: [PATCH 2/3] Added act action runner --- nixos/work.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/nixos/work.nix b/nixos/work.nix index f45d92c..8f4d135 100644 --- a/nixos/work.nix +++ b/nixos/work.nix @@ -8,6 +8,7 @@ pkgs.qgroundcontrol pkgs.distrobox pkgs.element-desktop + pkgs.act pkgs.logseq ]; } From 7d56fbed00727d08593ba2d145641612e36eb119 Mon Sep 17 00:00:00 2001 From: Alex Davies Date: Fri, 24 May 2024 13:04:13 -0300 Subject: [PATCH 3/3] Renamed work computer hostname --- flake.nix | 4 +-- hostnames.md | 30 +++++++++++++++++++++ nixos/configuration.nix | 5 ++++ nixos/hardware/{metatron.nix => azrael.nix} | 0 4 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 hostnames.md rename nixos/hardware/{metatron.nix => azrael.nix} (100%) diff --git a/flake.nix b/flake.nix index 7e3e92b..15554db 100644 --- a/flake.nix +++ b/flake.nix @@ -78,10 +78,10 @@ ]; }; #Work laptop, dell g15. - metatron = nixpkgs.lib.nixosSystem { + azrael = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs outputs; - hostname = "metatron"; + hostname = "azrael"; }; modules = [ ./nixos/configuration.nix diff --git a/hostnames.md b/hostnames.md new file mode 100644 index 0000000..a8c2ab2 --- /dev/null +++ b/hostnames.md @@ -0,0 +1,30 @@ +Raphael +Gabriel +Michael +Uriel +#Azrael +Ariel +Cassiel +Jophiel +Zadkiel +Raziel +Raguel +Chamuel +Haniel +Jeremiel +#Metatron +Sandalphon +Sariel +Selaphiel +Barachiel +Zaphkiel +Gadreel +Remiel +Anael +Raguel +Samael +Raziel +Tzaphkiel +Tzadkiel +Sachiel +Adriel diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 0e193ba..eb1ceaf 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -87,6 +87,11 @@ appimage-run ]; + programs.git = { + enable = true; + lfs.enable = true; + }; + boot.binfmt.registrations.appimage = { wrapInterpreterInShell = false; interpreter = "${pkgs.appimage-run}/bin/appimage-run"; diff --git a/nixos/hardware/metatron.nix b/nixos/hardware/azrael.nix similarity index 100% rename from nixos/hardware/metatron.nix rename to nixos/hardware/azrael.nix