Files
dot/hosts/work/nixos/configuration.nix
2026-02-12 12:56:18 +01:00

29 lines
584 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../../../modules/nixos/common.nix
];
wsl.enable = true;
wsl.defaultUser = "pan";
wsl.interop.register = true;
networking.hostName = "nix";
users.users.pan = {
isNormalUser = true;
extraGroups = [ "networkmanager" "wheel" ];
uid = 1000;
shell = pkgs.zsh;
};
fileSystems."/home/pan/pro" = {
device = "/dev/disk/by-uuid/9a37862c-85db-4434-b06a-ec8c2713ecc9";
fsType = "ext4"; # or xfs, etc.
options = [ "defaults" "nofail" "x-systemd.automount" ];
};
system.stateVersion = "25.05";
}