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: {
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 = {
beefcake = inputs.nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = let
ald = inputs.api-lyte-dev;
nomod = builtins.trace "hey" ald.nixosModules;
in [
./machines/beefcake.nix
inputs.home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops
nomod.x86_64-linux.api-lyte-dev
{
home-manager.useGlobalPkgs = true;
}
];
modules =
let
ald = inputs.api-lyte-dev;
nomod = builtins.trace "hey" ald.nixosModules;
in
[
./machines/beefcake.nix
inputs.home-manager.nixosModules.home-manager
inputs.sops-nix.nixosModules.sops
nomod.x86_64-linux.api-lyte-dev
{
home-manager.useGlobalPkgs = true;
}
];
};
thinker = inputs.nixpkgs.lib.nixosSystem {

View file

@ -589,6 +589,9 @@
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?
# This value determines the NixOS release from which the default