fix(host@doloro-wsl): fixed config
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
nixos-wsl.url = "github:nix-community/NixOS-WSL/main";
|
||||||
nix-meow.url = "git+https://git.scug.io/nikkuss/nix-meow.git"; # config manager, meow'd
|
nix-meow.url = "git+https://git.scug.io/nikkuss/nix-meow.git"; # config manager, meow'd
|
||||||
hyprland.url = "github:hyprwm/Hyprland";
|
hyprland.url = "github:hyprwm/Hyprland";
|
||||||
quickshell = {
|
quickshell = {
|
||||||
|
|||||||
@@ -1,28 +1,25 @@
|
|||||||
{ pkgs, lib, ... }:
|
|
||||||
{
|
{
|
||||||
networking.hostName = "doloro-wsl-laptop";
|
inputs,
|
||||||
programs = {
|
lib,
|
||||||
nh = {
|
user,
|
||||||
enable = true;
|
...
|
||||||
flake = "/home/doloro/dotfiles";
|
}:
|
||||||
};
|
{
|
||||||
nix-ld = {
|
imports = [
|
||||||
enable = true;
|
inputs.nixos-wsl.nixosModules.default
|
||||||
package = pkgs.nix-ld-rs;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
virtualisation.podman = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
environment = {
|
|
||||||
localBinInPath = true;
|
|
||||||
systemPackages = with pkgs; [
|
|
||||||
git
|
|
||||||
home-manager
|
|
||||||
];
|
];
|
||||||
|
networking.dhcpcd.enable = lib.mkOverride 0 false;
|
||||||
|
boot.loader.grub.enable = lib.mkOverride 0 false;
|
||||||
|
wsl = {
|
||||||
|
enable = true;
|
||||||
|
defaultUser = user;
|
||||||
|
docker-desktop.enable = false;
|
||||||
|
useWindowsDriver = true;
|
||||||
|
startMenuLaunchers = true;
|
||||||
|
usbip.enable = true;
|
||||||
|
};
|
||||||
|
systemd.services."user-runtime-dir@" = {
|
||||||
|
overrideStrategy = "asDropin";
|
||||||
|
unitConfig.ConditionPathExists = "!/run/user/%i";
|
||||||
};
|
};
|
||||||
# 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;
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user