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

View file

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

View file

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

View file

@ -1,12 +1,11 @@
{
hardware,
config,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
system.stateVersion = "24.05";
networking.hostName = "rascal";
boot.initrd.availableKernelModules = [
"xhci_pci"
@ -33,6 +32,11 @@
device = "/dev/sda";
};
imports = with hardware; [
common-cpu-amd
common-pc-ssd
];
users.groups.beefcake = { };
users.users = {
beefcake = {
@ -46,25 +50,6 @@
"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 = ''
@ -75,8 +60,7 @@
'';
networking = {
hostName = "rascal";
networkmanager.enable = true;
wifi.enable = true;
firewall = {
enable = true;
allowPing = true;
@ -85,6 +69,4 @@
};
services.tailscale.useRoutingFeatures = "server";
system.stateVersion = "24.05";
}