Files
dot/hosts/work/nixos/configuration.nix
2026-06-19 07:09:46 +02:00

33 lines
661 B
Nix

{ config, lib, pkgs, ... }:
{
imports = [
../../../modules/nixos/common.nix
];
# For sshfs
programs.fuse.userAllowOther = true;
wsl.enable = true;
wsl.defaultUser = "pan";
wsl.interop.register = true;
networking.hostName = "nix";
networking.firewall.enable = false;
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";
options = [ "defaults" "nofail" "x-systemd.automount" ];
};
system.stateVersion = "25.05";
}