argon40
This commit is contained in:
@@ -183,6 +183,8 @@
|
|||||||
|
|
||||||
pi4-nixos-raspberrypi.url = "github:nvmd/nixos-raspberrypi";
|
pi4-nixos-raspberrypi.url = "github:nvmd/nixos-raspberrypi";
|
||||||
|
|
||||||
|
pi4-argon40-nix.url = "github:guusvanmeerveld/argon40-nix";
|
||||||
|
|
||||||
pi4-disko = {
|
pi4-disko = {
|
||||||
# the fork is needed for partition attributes support
|
# the fork is needed for partition attributes support
|
||||||
url = "github:nvmd/disko/gpt-attrs";
|
url = "github:nvmd/disko/gpt-attrs";
|
||||||
@@ -321,6 +323,7 @@
|
|||||||
pi4-nixos-hardware,
|
pi4-nixos-hardware,
|
||||||
pi4-nixos-raspberrypi,
|
pi4-nixos-raspberrypi,
|
||||||
pi4-disko,
|
pi4-disko,
|
||||||
|
pi4-argononed,
|
||||||
|
|
||||||
# Steamdeck
|
# Steamdeck
|
||||||
steamdeck-nixpkgs,
|
steamdeck-nixpkgs,
|
||||||
@@ -612,6 +615,7 @@
|
|||||||
pi4-impermanence.nixosModules.impermanence
|
pi4-impermanence.nixosModules.impermanence
|
||||||
pi4-sops-nix.nixosModules.sops
|
pi4-sops-nix.nixosModules.sops
|
||||||
./hosts/pi4/configuration.nix
|
./hosts/pi4/configuration.nix
|
||||||
|
pi4-argon40-nix.nixosModules.default
|
||||||
pi4-home-manager.nixosModules.home-manager
|
pi4-home-manager.nixosModules.home-manager
|
||||||
{
|
{
|
||||||
home-manager.useGlobalPkgs = true;
|
home-manager.useGlobalPkgs = true;
|
||||||
|
|||||||
@@ -1,28 +1,69 @@
|
|||||||
#{ pkgs, ... }:
|
{ ... }:
|
||||||
#let
|
|
||||||
# argononed = pkgs.callPackage ./pkg.nix {};
|
|
||||||
#in
|
|
||||||
#{
|
|
||||||
# environment.systemPackages = [ argononed ];
|
|
||||||
#}
|
|
||||||
{ lib, stdenv, pkgs, config, ...}:
|
|
||||||
{
|
{
|
||||||
imports = let
|
programs.argon.one = {
|
||||||
argononed = fetchGit {
|
|
||||||
url = "https://github.com/mjallen18/argononed.git";
|
|
||||||
ref = "dev"; # Or any other branches deemed suitable
|
|
||||||
};
|
|
||||||
in
|
|
||||||
[ "${argononed}/OS/nixos" ];
|
|
||||||
|
|
||||||
services.argonone = {
|
|
||||||
enable = true;
|
enable = true;
|
||||||
logLevel = 4;
|
|
||||||
settings = {
|
settings = {
|
||||||
fanTemp0 = 36; fanSpeed0 = 10;
|
# Is 'celsius' by default, can also be set to 'fahrenheit'
|
||||||
fanTemp1 = 41; fanSpeed1 = 50;
|
displayUnits = "celsius";
|
||||||
fanTemp2 = 46; fanSpeed2 = 80;
|
|
||||||
hysteresis = 4;
|
# This is the same config as the original Argon40 config.
|
||||||
|
# This is also the default config for this flake.
|
||||||
|
fanspeed = [
|
||||||
|
{
|
||||||
|
# This the temperature threshold at which this fan speed will activate.
|
||||||
|
# The temperature is in the above specified unit.
|
||||||
|
temperature = 55;
|
||||||
|
# This is speed percentage at which the fan will spin.
|
||||||
|
speed = 30;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
temperature = 60;
|
||||||
|
speed = 55;
|
||||||
|
}
|
||||||
|
{
|
||||||
|
temperature = 65;
|
||||||
|
speed = 100;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
ir = {
|
||||||
|
enable = true;
|
||||||
|
gpio.enable = true;
|
||||||
|
keymap = {
|
||||||
|
"POWER" = "00ff39c6";
|
||||||
|
"UP" = "00ff53ac";
|
||||||
|
"DOWN" = "00ff4bb4";
|
||||||
|
"LEFT" = "00ff9966";
|
||||||
|
"RIGHT" = "00ff837c";
|
||||||
|
"VOLUMEUP" = "00ff01fe";
|
||||||
|
"VOLUMEDOWN" = "00ff817e";
|
||||||
|
"OK" = "00ff738c";
|
||||||
|
"HOME" = "00ffd32c";
|
||||||
|
"MENU" = "00ffb946";
|
||||||
|
"BACK" = "00ff09f6";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
# { lib, stdenv, pkgs, config, ...}:
|
||||||
|
# {
|
||||||
|
# imports = let
|
||||||
|
# argononed = fetchGit {
|
||||||
|
# url = "https://github.com/mjallen18/argononed.git";
|
||||||
|
# ref = "dev"; # Or any other branches deemed suitable
|
||||||
|
# };
|
||||||
|
# in
|
||||||
|
# [ "${argononed}/OS/nixos" ];
|
||||||
|
|
||||||
|
# services.argonone = {
|
||||||
|
# enable = true;
|
||||||
|
# logLevel = 4;
|
||||||
|
# settings = {
|
||||||
|
# fanTemp0 = 36; fanSpeed0 = 10;
|
||||||
|
# fanTemp1 = 41; fanSpeed1 = 50;
|
||||||
|
# fanTemp2 = 46; fanSpeed2 = 80;
|
||||||
|
# hysteresis = 4;
|
||||||
|
# };
|
||||||
|
# };
|
||||||
|
# }
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
let
|
let
|
||||||
user = "matt";
|
user = "matt";
|
||||||
password = config.sops.secrets."pi4/matt-password".path;
|
# password = config.sops.secrets."pi4/matt-password".path;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
@@ -73,7 +73,8 @@ in
|
|||||||
mutableUsers = false;
|
mutableUsers = false;
|
||||||
users."${user}" = {
|
users."${user}" = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
hashedPasswordFile = password;
|
# hashedPasswordFile = password;
|
||||||
|
password = "BogieDudie1";
|
||||||
extraGroups = [
|
extraGroups = [
|
||||||
"wheel"
|
"wheel"
|
||||||
"docker"
|
"docker"
|
||||||
|
|||||||
@@ -28,27 +28,27 @@ in
|
|||||||
];
|
];
|
||||||
|
|
||||||
profiles = {
|
profiles = {
|
||||||
"Joey's Jungle 5G" = {
|
# "Joey's Jungle 5G" = {
|
||||||
connection = {
|
# connection = {
|
||||||
id = "Joey's Jungle 5G";
|
# id = "Joey's Jungle 5G";
|
||||||
type = "wifi";
|
# type = "wifi";
|
||||||
};
|
# };
|
||||||
ipv4 = {
|
# ipv4 = {
|
||||||
method = "auto";
|
# method = "auto";
|
||||||
};
|
# };
|
||||||
ipv6 = {
|
# ipv6 = {
|
||||||
addr-gen-mode = "stable-privacy";
|
# addr-gen-mode = "stable-privacy";
|
||||||
method = "auto";
|
# method = "auto";
|
||||||
};
|
# };
|
||||||
wifi = {
|
# wifi = {
|
||||||
mode = "infrastructure";
|
# mode = "infrastructure";
|
||||||
ssid = "Joey's Jungle 5G";
|
# ssid = "Joey's Jungle 5G";
|
||||||
};
|
# };
|
||||||
wifi-security = {
|
# wifi-security = {
|
||||||
key-mgmt = "sae";
|
# key-mgmt = "sae";
|
||||||
psk = "$PSK";
|
# psk = "$PSK";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
"static-enabcm6e4ei0" = {
|
"static-enabcm6e4ei0" = {
|
||||||
connection = {
|
connection = {
|
||||||
|
|||||||
Reference in New Issue
Block a user