diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-28 19:53:43 +0200 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2022-06-28 19:53:43 +0200 |
commit | ca4f07b9c7b16947e24e6b255aaec8e1c4009791 (patch) | |
tree | c2db186cbcf1d194ad50ab56a90b3b48f6232704 /hosts | |
parent | Update (diff) | |
download | nixos-config-ca4f07b9c7b16947e24e6b255aaec8e1c4009791.tar.gz nixos-config-ca4f07b9c7b16947e24e6b255aaec8e1c4009791.tar.bz2 nixos-config-ca4f07b9c7b16947e24e6b255aaec8e1c4009791.zip |
VM: Migrate to EFI and add packages
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/vm/hardware.nix | 8 | ||||
-rw-r--r-- | hosts/vm/home.nix | 4 |
2 files changed, 7 insertions, 5 deletions
diff --git a/hosts/vm/hardware.nix b/hosts/vm/hardware.nix index 26fbf0a..d7965d5 100644 --- a/hosts/vm/hardware.nix +++ b/hosts/vm/hardware.nix @@ -13,14 +13,16 @@ kernelParams = [ "net.ifnames=0" "biosdevname=0" ]; }; + fileSystems."/boot" = { + device = "/dev/disk/by-label/boot"; + fsType = "vfat"; + }; + fileSystems."/" = { device = "/dev/disk/by-label/nixos"; fsType = "ext4"; }; - # Define on which hard drive you want to install Grub. - boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only - swapDevices = [ ]; services.xserver = { diff --git a/hosts/vm/home.nix b/hosts/vm/home.nix index 19c9e26..c3d555f 100644 --- a/hosts/vm/home.nix +++ b/hosts/vm/home.nix @@ -4,8 +4,8 @@ let in { home.packages = with pkgs; [ - #jetbrains.idea-community - #qtcreator + jetbrains.idea-community + qtcreator ]; xdg.configFile = { |