Beefnix
This commit is contained in:
parent
e013fc8aed
commit
34bd7970b2
2 changed files with 33 additions and 12 deletions
|
@ -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 {
|
||||
|
|
|
@ -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
|
||||
|
|
Reference in a new issue