cleanup(all): moving all config to hosts folder
This commit is contained in:
51
nix/hosts/doloro-wsl/configuration.nix
Normal file
51
nix/hosts/doloro-wsl/configuration.nix
Normal file
@@ -0,0 +1,51 @@
|
||||
{ pkgs, lib, ... }:
|
||||
{
|
||||
networking.hostName = "doloro-wsl-laptop";
|
||||
programs = {
|
||||
nh = {
|
||||
enable = true;
|
||||
flake = "/home/doloro/dotfiles";
|
||||
};
|
||||
nix-ld = {
|
||||
enable = true;
|
||||
package = pkgs.nix-ld-rs;
|
||||
};
|
||||
};
|
||||
virtualisation.podman = {
|
||||
enable = true;
|
||||
};
|
||||
environment = {
|
||||
localBinInPath = true;
|
||||
systemPackages = with pkgs; [
|
||||
git
|
||||
home-manager
|
||||
];
|
||||
};
|
||||
# stylix.base16Scheme = lib.mkForce "${pkgs.base16-schemes}/share/themes/tokyo-night-terminal-dark.yaml";
|
||||
services.tailscale.enable = true;
|
||||
networking.firewall.trustedInterfaces = [ "eth0" ];
|
||||
systemd.services.firewall.enable = lib.mkForce true;
|
||||
# modules = {
|
||||
# users.enable = true;
|
||||
# secrets.enable = true;
|
||||
# sshserver.enable = true;
|
||||
# nix-conf.enable = true;
|
||||
# shell.enable = true;
|
||||
# stylix.enable = true;
|
||||
# hosting = {
|
||||
# enable = false;
|
||||
# networking = {
|
||||
# publicInterface = "eth0";
|
||||
# };
|
||||
# stacks = {
|
||||
# test = {
|
||||
# config =
|
||||
# { pkgs, ... }:
|
||||
# {
|
||||
# environment.systemPackages = with pkgs; [ fastfetch ];
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
# };
|
||||
}
|
||||
Reference in New Issue
Block a user