From b8a5c62b112859f463a53ac97b43f7f8cdc544a9 Mon Sep 17 00:00:00 2001 From: spl3g Date: Sun, 31 Dec 2023 15:08:06 +0300 Subject: uhm --- nixos/laptop/configuration.nix | 47 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 nixos/laptop/configuration.nix (limited to 'nixos/laptop/configuration.nix') diff --git a/nixos/laptop/configuration.nix b/nixos/laptop/configuration.nix new file mode 100644 index 0000000..948aed6 --- /dev/null +++ b/nixos/laptop/configuration.nix @@ -0,0 +1,47 @@ +{ inputs, outputs, pkgs, ... }: { + # You can import other NixOS modules here + imports = [ + # If you want to use modules your own flake exports (from modules/nixos): + # outputs.nixosModules.example + + # Or modules from other flakes (such as nixos-hardware): + # inputs.hardware.nixosModules.common-cpu-amd + # inputs.hardware.nixosModules.common-ssd + + ../general.nix + ./hardware-configuration.nix + inputs.home-manager.nixosModules.home-manager + ]; + + + time.timeZone = "Europe/Moscow"; + networking.hostName = "ltrr-mini"; + + virtualisation.libvirtd.enable = true; + programs.virt-manager.enable = true; + + services.xserver = { + enable = false; + displayManager.lightdm.enable = false; + }; + + + environment.systemPackages = with pkgs; [ + qemu + ]; + + programs.adb.enable = true; + services.udev.packages = [ + pkgs.android-udev-rules + ]; + + home-manager = { + extraSpecialArgs = { inherit inputs outputs; }; + useGlobalPkgs = true; + useUserPackages = true; + users.jerpo = import ../../home-manager/laptop; + }; + + # https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion + system.stateVersion = "23.05"; +} -- cgit v1.2.3