38 lines
777 B
Nix
Executable File
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;
|
|
};
|
|
}
|