This commit is contained in:
Daniel Flanagan 2023-08-30 23:00:30 -05:00
parent e013fc8aed
commit 34bd7970b2
Signed by: lytedev
GPG key ID: 5B2020A0F9921EF4
2 changed files with 33 additions and 12 deletions

View file

@ -37,22 +37,40 @@
}; };
outputs = inputs: { outputs = inputs: {
homeConfigurations =
let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
in
{
daniel = inputs.home-manager.lib.homeManagerConfiguration {
inherit pkgs;
modules = [
(import
./daniel.nix
pkgs)
];
};
};
nixosConfigurations = { nixosConfigurations = {
beefcake = inputs.nixpkgs.lib.nixosSystem { beefcake = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { inherit inputs; }; specialArgs = { inherit inputs; };
modules = let modules =
ald = inputs.api-lyte-dev; let
nomod = builtins.trace "hey" ald.nixosModules; ald = inputs.api-lyte-dev;
in [ nomod = builtins.trace "hey" ald.nixosModules;
./machines/beefcake.nix in
inputs.home-manager.nixosModules.home-manager [
inputs.sops-nix.nixosModules.sops ./machines/beefcake.nix
nomod.x86_64-linux.api-lyte-dev inputs.home-manager.nixosModules.home-manager
{ inputs.sops-nix.nixosModules.sops
home-manager.useGlobalPkgs = true; nomod.x86_64-linux.api-lyte-dev
} {
]; home-manager.useGlobalPkgs = true;
}
];
}; };
thinker = inputs.nixpkgs.lib.nixosSystem { thinker = inputs.nixpkgs.lib.nixosSystem {

View file

@ -589,6 +589,9 @@
checkReversePath = "loose"; # needed for tailscale? checkReversePath = "loose"; # needed for tailscale?
}; };
boot.kernel.sysctl."net.ipv4.ip_forward" = 1;
boot.kernel.sysctl."net.ipv6.conf.all.forwarding" = 1;
# TODO: should I upgrade this? # TODO: should I upgrade this?
# This value determines the NixOS release from which the default # This value determines the NixOS release from which the default