This commit is contained in:
Tao Tien 2023-07-18 22:14:59 -07:00
parent 1f9b248c04
commit 78c6679987
7 changed files with 48 additions and 32 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{ lib, pkgs, modulesPath, ... }: {
environment.systemPackages = with pkgs; [
appimage-run
bat
@ -23,10 +23,10 @@
zstd
];
services.tailscale.enable = true;
services.openssh.enable = true;
services.flatpak.enable = true;
services.printing.enable = true;
services.tailscale.enable = lib.mkDefault true;
services.openssh.enable = lib.mkDefault true;
services.flatpak.enable = lib.mkDefault true;
services.printing.enable = lib.mkDefault true;
environment.variables = {
EDITOR = "hx";
@ -34,7 +34,7 @@
};
hardware.enableAllFirmware = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.enable = lib.mkDefault true;
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
@ -43,10 +43,10 @@
networking.firewall.enable = false;
services.xserver.enable = true;
services.xserver.displayManager.sddm.enable = true;
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.layout = "us";
systemd.services.display-manager.restartIfChanged = false;
services.xserver.displayManager.sddm.enable = lib.mkDefault true;
services.xserver.desktopManager.plasma5.enable = lib.mkDefault true;
environment.plasma5.excludePackages = with pkgs.libsForQt5; [
elisa
konsole
@ -65,8 +65,15 @@
};
nixpkgs.config = { allowUnfree = true; };
systemd.extraConfig = ''
DefaultTimeoutStopSec=15s
'';
time.timeZone = "US/Pacific";
i18n.defaultLocale = "en_US.UTF-8";
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
system.stateVersion = "23.05";
}

7
systems/NOcamp.nix Normal file
View file

@ -0,0 +1,7 @@
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
qgroundcontrol
qgis-ltr
arduino
];
}

View file

@ -1,5 +1,6 @@
{ lib, pkgs, modulesPath, ... }: {
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
# mesa
openrgb
gwe
liquidctl
@ -42,8 +43,8 @@
script = ''
liquidctl -m nzxt set sync speed 100
'';
wantedBy = [ "graphical-session.target" ];
partOf = [ "graphical-session.target" ];
wantedBy = [ "default.target" ];
# partOf = [ "graphical-session.target" ];
};
services.udev.packages = [ pkgs.openrgb ];
@ -52,13 +53,14 @@
SUBSYSTEM == "tty", GROUP="dialout", ATTRS{interface}=="Black Magic UART Port", SYMLINK+="ttyBmpTarg"
'';
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod" ];
boot.kernelModules = [ "i2c-dev" "kvm-amd" ];
hardware.opengl = {
enable = true;
driSupport = true;
driSupport32Bit = true;
};
hardware.nvidia = {
modesetting.enable = true;
};

View file

@ -1,4 +1,4 @@
{ lib, modulesPath, pkgs, ... }: {
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
];
@ -23,10 +23,6 @@
services.fprintd.enable = true;
services.fwupd.enable = true;
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
nixpkgs.hostPlatform = "x86_64-linux";
boot.initrd.availableKernelModules = [
"nvme"
"sd_mod"