From f99c69a24094f471bb48a9eb60994e9118da884b Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 23 Jul 2023 09:10:18 +0200 Subject: Set up lima VM running nixos --- user/lima.nix | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 user/lima.nix (limited to 'user/lima.nix') diff --git a/user/lima.nix b/user/lima.nix new file mode 100644 index 00000000..3ef47c65 --- /dev/null +++ b/user/lima.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: +{ + imports = [ + ./modules/tabnine.nix + ./settings/base.nix + ./settings/development/base.nix + ./settings/git.nix + ./settings/nix.nix + ./settings/nixos.nix + ./settings/ssh.nix + ./settings/zsh.nix + ]; + home = { + username = "alan"; + homeDirectory = "/home/alan.linux"; + stateVersion = "22.11"; + }; + # home-manager complains when setting nix.conf otherwise + nix.package = pkgs.nix; + nix.settings = { + max-jobs = 4; + experimental-features = "nix-command flakes"; + }; +} -- cgit 1.4.1