fix: some wifi enabling wrong for some hosts, slippi defaults
Some checks failed
/ check (push) Failing after 42s

This commit is contained in:
Daniel Flanagan 2025-02-19 11:57:58 -06:00
parent 2c37b61a08
commit 05701706be
4 changed files with 25 additions and 31 deletions

View file

@ -14,6 +14,7 @@ in
{ {
imports = with homeManagerModules; [ imports = with homeManagerModules; [
slippi.homeManagerModules.default slippi.homeManagerModules.default
shell
fish fish
helix helix
git git
@ -36,6 +37,19 @@ in
*/ */
]; ];
config = {
slippi-launcher.enable = lib.mkDefault false;
};
};
shell =
{
pkgs,
lib,
config,
...
}:
{
options = { options = {
lyte = { lyte = {
shell = { shell = {
@ -49,7 +63,6 @@ in
programs.helix.enable = true; programs.helix.enable = true;
programs.zellij.enable = true; programs.zellij.enable = true;
programs.eza.enable = true; programs.eza.enable = true;
slippi-launcher.enable = lib.mkDefault false;
programs.bat = { programs.bat = {
enable = true; enable = true;
config = { config = {

View file

@ -1,7 +1,5 @@
{ {
hardware, hardware,
pkgs,
lib,
config, config,
... ...
}: }:
@ -9,7 +7,7 @@
system.stateVersion = "24.05"; system.stateVersion = "24.05";
networking = { networking = {
hostName = "bigtower"; hostName = "bigtower";
wifi = true; wifi.enable = true;
}; };
fileSystems."/" = { fileSystems."/" = {

View file

@ -10,5 +10,6 @@ in
htpc = stableHost ./htpc.nix { }; htpc = stableHost ./htpc.nix { };
router = stableHost ./router.nix { }; router = stableHost ./router.nix { };
bigtower = stableHost ./bigtower.nix { }; bigtower = stableHost ./bigtower.nix { };
rascal = stableHost ./rascal.nix { };
# arm-dragon = host ./dragon.nix { system = "aarch64-linux"; }; # arm-dragon = host ./dragon.nix { system = "aarch64-linux"; };
} }

View file

@ -1,12 +1,11 @@
{ {
hardware,
config, config,
modulesPath,
... ...
}: }:
{ {
imports = [ system.stateVersion = "24.05";
(modulesPath + "/installer/scan/not-detected.nix") networking.hostName = "rascal";
];
boot.initrd.availableKernelModules = [ boot.initrd.availableKernelModules = [
"xhci_pci" "xhci_pci"
@ -33,6 +32,11 @@
device = "/dev/sda"; device = "/dev/sda";
}; };
imports = with hardware; [
common-cpu-amd
common-pc-ssd
];
users.groups.beefcake = { }; users.groups.beefcake = { };
users.users = { users.users = {
beefcake = { beefcake = {
@ -46,25 +50,6 @@
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAOEI82VdbyR1RYqSnFtlffHBtHFdXO0v9RmQH7GkfXo restic@beefcake" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAOEI82VdbyR1RYqSnFtlffHBtHFdXO0v9RmQH7GkfXo restic@beefcake"
]; ];
}; };
daniel = {
# used for restic backups
isNormalUser = true;
extraGroups = [
"users"
"wheel"
"video"
"dialout"
"uucp"
];
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAPLXOjupz3ScYjgrF+ehrbp9OvGAWQLI6fplX6w9Ijb daniel@lyte.dev"
];
};
root = {
openssh.authorizedKeys.keys = config.users.users.daniel.openssh.authorizedKeys.keys;
};
}; };
services.openssh.extraConfig = '' services.openssh.extraConfig = ''
@ -75,8 +60,7 @@
''; '';
networking = { networking = {
hostName = "rascal"; wifi.enable = true;
networkmanager.enable = true;
firewall = { firewall = {
enable = true; enable = true;
allowPing = true; allowPing = true;
@ -85,6 +69,4 @@
}; };
services.tailscale.useRoutingFeatures = "server"; services.tailscale.useRoutingFeatures = "server";
system.stateVersion = "24.05";
} }