summaryrefslogtreecommitdiff
path: root/hosts/Makbuk/configuration.nix
blob: 8b39693aa872565f9a621f269139ebbd85b1faad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#configuration.nix

{ mods, ... }:

{
	programs.fuse.enable = true;

	boot.binfmt.emulatedSystems = [ "i686-linux" "x86_64-linux" ];
	boot.binfmt.addEmulatedSystemsToNixSandbox = true;

  imports = [
    ./hardware-configuration.nix
    ./apple-silicon-support
    ./packages.nix
#    "${mods}/sddm.nix"
    "${mods}/minecraft.nix"
    "${mods}/hyprland/new"
#    "${mods}/cosmic.nix"
    "${mods}/cpp.nix"
    "${mods}/rust.nix"
#    "${mods}/plasma6.nix"
    "${mods}/neovim"
    "${mods}/aarch.nix"
    "${mods}/tailscale.nix"
    "${mods}/bluetooth.nix"
  ];
  networking.hostName = "Makbuk";

  networking.wireless.iwd = {
    enable = true;
    settings.General.EndableNetworkConfiguration = true;
  };
  
	virtualisation.docker.enable = true;

	nixpkgs.config.allowUnsupportedSystem = true;
  boot.kernelParams = [ "hid_apple.fnmode=2" "appledrm.show_notch=1" "hid_apple.swap_opt_cmd=2" ];
  hardware.asahi.peripheralFirmwareDirectory = ./firmware;
}