From daafc6d6d4fe4f39ac7cc5da6170e81abacf4436 Mon Sep 17 00:00:00 2001 From: Thilo Billerbeck Date: Fri, 3 May 2024 20:19:31 +0200 Subject: [PATCH] laptop specific configs --- configs/fedora/home.nix | 2 ++ flake.nix | 6 ++++++ home-manager/dotfiles/ssh-config | 16 ++++++++++++++++ 3 files changed, 24 insertions(+) diff --git a/configs/fedora/home.nix b/configs/fedora/home.nix index 15b25d6..6789347 100644 --- a/configs/fedora/home.nix +++ b/configs/fedora/home.nix @@ -18,4 +18,6 @@ in { nixpkgs.config.allowUnfree = true; nixGLPrefix = lib.getExe pkgs.nixgl.nixGLIntel; + + nix.settings.builders = "@/etc/nix/machines"; } diff --git a/flake.nix b/flake.nix index fc533e5..f25e6f2 100644 --- a/flake.nix +++ b/flake.nix @@ -74,6 +74,12 @@ modules = [ ./configs/fedora/home.nix ]; extraSpecialArgs = { inherit inputs nixgl; }; }; + homeConfigurations."thilo@thilo-laptop" = + home-manager.lib.homeManagerConfiguration { + inherit pkgs; + modules = [ ./configs/fedora/home.nix ]; + extraSpecialArgs = { inherit inputs nixgl; }; + }; homeConfigurations."thilo@thilo-pc-win" = home-manager.lib.homeManagerConfiguration { inherit pkgs; diff --git a/home-manager/dotfiles/ssh-config b/home-manager/dotfiles/ssh-config index 8994981..95d93a3 100644 --- a/home-manager/dotfiles/ssh-config +++ b/home-manager/dotfiles/ssh-config @@ -96,3 +96,19 @@ Host thilo-pc Host *.relaix.net User tbillerbeck IdentityFile ~/.ssh/id_relaix-net + +Host build1.darmstadt.ccc.de + User avocadoom + IdentityFile ~/.ssh/id_darmstadt-ccc-de + +Host build2.darmstadt.ccc.de + User avocadoom + IdentityFile ~/.ssh/id_darmstadt-ccc-de + +Host build3.darmstadt.ccc.de + User avocadoom + IdentityFile ~/.ssh/id_darmstadt-ccc-de + +Host build4.darmstadt.ccc.de + User avocadoom + IdentityFile ~/.ssh/id_darmstadt-ccc-de \ No newline at end of file