Files
nixos/hosts/dev-vm/default.nix
T
2025-07-10 14:28:15 +02:00

38 lines
777 B
Nix
Executable File

{ config, pkgs, lib, home-manager, ... }:
{
imports = [
../../modules/sway.nix
../../modules/dev.nix
./sway.nix
./hardware-configuration.nix
# home manager integration
home-manager.nixosModules.home-manager
./home.nix
];
home-manager.useUserPackages = true;
home-manager.useGlobalPkgs = true;
# bootloader
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "dev-vm";
# time and localization
time.timeZone = "Europe/Berlin";
# vm guest config
virtualisation.virtualbox.guest.enable = true;
virtualisation.virtualbox.guest.clipboard = true;
# users
users.users.alex = {
isNormalUser = true;
extraGroups = [ "wheel" ];
shell = pkgs.fish;
};
}