almost
This commit is contained in:
1
systems/aarch64-linux/mbp-nixos/.gitignore
vendored
Executable file
1
systems/aarch64-linux/mbp-nixos/.gitignore
vendored
Executable file
@@ -0,0 +1 @@
|
||||
firmware
|
||||
16
systems/aarch64-linux/mbp-nixos/default.nix
Normal file → Executable file
16
systems/aarch64-linux/mbp-nixos/default.nix
Normal file → Executable file
@@ -19,7 +19,6 @@
|
||||
# Networking Config
|
||||
networking = {
|
||||
firewall.enable = true;
|
||||
hostName = "mpb-nixos";
|
||||
networkmanager.enable = true;
|
||||
networkmanager.wifi.backend = "iwd";
|
||||
useDHCP = lib.mkDefault true;
|
||||
@@ -33,11 +32,7 @@
|
||||
useExperimentalGPUDriver = true;
|
||||
};
|
||||
|
||||
# graphics = {
|
||||
# enable = true;
|
||||
# enable32Bit = true;
|
||||
# };
|
||||
|
||||
graphics.enable = true;
|
||||
bluetooth.enable = true;
|
||||
bluetooth.powerOnBoot = true;
|
||||
};
|
||||
@@ -50,17 +45,16 @@
|
||||
# shell = pkgs.bash;
|
||||
# };
|
||||
|
||||
# # Home Manager Config
|
||||
# Home Manager Config
|
||||
# home-manager = {
|
||||
# useGlobalPkgs = true;
|
||||
# useUserPackages = true;
|
||||
# users.evanreichard = import ../home-manager/home.nix;
|
||||
# # users.evanreichard = import ../home-manager/home.nix;
|
||||
# };
|
||||
|
||||
# HyprLand Config
|
||||
programs.hyprland.enable = true;
|
||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
||||
# environment.sessionVariables.WLR_NO_HARDWARE_CURSORS = "1";
|
||||
# environment.sessionVariables.WLR_DRM_DEVICES = "/dev/dri/card0";
|
||||
|
||||
# System Packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
@@ -71,6 +65,8 @@
|
||||
vim
|
||||
wget
|
||||
|
||||
# mesa-asahi-edge
|
||||
# mesa
|
||||
# hyprlock
|
||||
# hypridle
|
||||
];
|
||||
|
||||
37
systems/aarch64-linux/mbp-nixos/hardware-configuration.nix
Executable file
37
systems/aarch64-linux/mbp-nixos/hardware-configuration.nix
Executable file
@@ -0,0 +1,37 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "usb_storage" ];
|
||||
boot.initrd.kernelModules = [ ];
|
||||
boot.kernelModules = [ ];
|
||||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-uuid/6dce11fa-5075-44d4-b502-14d0a1b36e7f";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-uuid/2254-0F1E";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0022" "dmask=0022" ];
|
||||
};
|
||||
|
||||
swapDevices = [ ];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
# networking.interfaces.wlan0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "aarch64-linux";
|
||||
}
|
||||
0
systems/x86_64-linux/nixos-builder/default.nix
Normal file → Executable file
0
systems/x86_64-linux/nixos-builder/default.nix
Normal file → Executable file
0
systems/x86_64-linux/office-server/default.nix
Normal file → Executable file
0
systems/x86_64-linux/office-server/default.nix
Normal file → Executable file
0
systems/x86_64-linux/utility-desktop/default.nix
Normal file → Executable file
0
systems/x86_64-linux/utility-desktop/default.nix
Normal file → Executable file
0
systems/x86_64-virtual/rke2-image.nix
Normal file → Executable file
0
systems/x86_64-virtual/rke2-image.nix
Normal file → Executable file
0
systems/x86_64-virtual/usb-image.nix
Normal file → Executable file
0
systems/x86_64-virtual/usb-image.nix
Normal file → Executable file
Reference in New Issue
Block a user