diff options
Diffstat (limited to 'nixos/laptop/configuration.nix')
| -rw-r--r-- | nixos/laptop/configuration.nix | 47 |
1 files changed, 47 insertions, 0 deletions
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"; +} |
