summaryrefslogtreecommitdiff
path: root/hosts/Makbuk/configuration.nix
blob: 074ad31f97aeaf30d8e24f0ad77d45ed639a0340 (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
40
41
{ inputs, self, mods, userName, fullName, unstbl, ... }:

{
	
		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
		../../common
#    "${mods}/sddm.nix"
    "${mods}/minecraft.nix"
    "${mods}/hyprland/new"
#    "${mods}/cosmic.nix"
    "${mods}/cpp.nix"
    "${mods}/rust.nix"
    "${mods}/bluetooth.nix"
    "${mods}/aarch.nix"
    "${mods}/neovim"
    "${mods}/ipon.nix"
    "${mods}/tailscale.nix"
  ];
  networking.hostName = "Makbuk";

  networking.wireless.iwd = {
    enable = true;
    settings.General.EndableNetworkConfiguration = true;
  };
  
	nixpkgs.config.allowUnsupportedSystem = true;
  boot.kernelParams = [ "hid_apple.fnmode=2" "appledrm.show_notch=1" "hid_apple.swap_opt_cmd=2" "hid_apple.swap_fn_leftctrl=1" ];
  hardware.asahi.peripheralFirmwareDirectory = ./firmware;

	services.seatd.enable = true;

	
}