From 88cc3e7e0765b5dd11b06db442ad46536342bba5 Mon Sep 17 00:00:00 2001 From: Raghuram Subramani Date: Thu, 1 Feb 2024 18:40:39 +0530 Subject: Updates (#1) * . * . * . * . * . * . * . * . * . * . * update * . * temp * . * . * . * . * . * . * . * . * . * . * . * . * temp * . * . * . * update --- machines/x/configuration.nix | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 machines/x/configuration.nix (limited to 'machines/x/configuration.nix') diff --git a/machines/x/configuration.nix b/machines/x/configuration.nix new file mode 100644 index 0000000..de93a4f --- /dev/null +++ b/machines/x/configuration.nix @@ -0,0 +1,38 @@ +{ lib, inputs, pkgs, ... }: + +{ + imports = [ + ./hardware-configuration.nix + inputs.home-manager.nixosModules.default + ] ++ (map (path: ../../modules/${path}) [ + "global.nix" + "compromyse.nix" + "desktop.nix" + "login.nix" + "fonts.nix" + "bluetooth.nix" + "audio.nix" + # "virtualization.nix" + # "nvidia.nix" + ]); + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + boot.loader.efi.efiSysMountPoint = "/boot/efi"; + + boot.extraModprobeConfig = "options kvm_intel nested=1"; + + nixpkgs.config.allowUnfree = true; + nixpkgs.config.allowUnfreePredicate = _: true; + + hardware.opengl.enable = true; + + fileSystems."/data" = { + device = "/dev/sda"; + fsType = "ext4"; + }; + + networking.hostName = "x"; + + home-manager.users.compromyse = import ./home.nix; +} -- cgit v1.2.3