formatting

This commit is contained in:
Osman Faruk Bayram 2025-02-25 19:34:07 +03:00
parent de825eb4dc
commit e5357f7099
4 changed files with 21 additions and 22 deletions

View file

@ -69,7 +69,6 @@
harmonica = nixpkgs.lib.nixosSystem { harmonica = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs outputs;};
modules = [ modules = [
./hosts/harmonica/configuration.nix ./hosts/harmonica/configuration.nix
]; ];
}; };

View file

@ -1,11 +1,11 @@
{...}: {...}: let
let
# define a block that just takes a hostname and returns attrset to not repeat the same fields # define a block that just takes a hostname and returns attrset to not repeat the same fields
sshBlock = hostname: { sshBlock = hostname: {
hostname = hostname; hostname = hostname;
user = "osbm"; user = "osbm";
identityFile = "/home/osbm/.ssh/id_ed25519"; identityFile = "/home/osbm/.ssh/id_ed25519";
extraOptions = { # [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb). extraOptions = {
# [ERROR] - (starship::print): Under a 'dumb' terminal (TERM=dumb).
"RemoteCommand" = "fish"; "RemoteCommand" = "fish";
"RequestTTY" = "force"; "RequestTTY" = "force";
}; };
@ -18,8 +18,7 @@ let
port = 8022; port = 8022;
# fish not found error ??? # fish not found error ???
}; };
in in {
{
programs.ssh = { programs.ssh = {
enable = true; enable = true;
hashKnownHosts = true; hashKnownHosts = true;

View file

@ -1,5 +1,8 @@
{pkgs, lib, ...}: { {
pkgs,
lib,
...
}: {
# Some packages (ahci fail... this bypasses that) https://discourse.nixos.org/t/does-pkgs-linuxpackages-rpi3-build-all-required-kernel-modules/42509 # Some packages (ahci fail... this bypasses that) https://discourse.nixos.org/t/does-pkgs-linuxpackages-rpi3-build-all-required-kernel-modules/42509
nixpkgs.overlays = [ nixpkgs.overlays = [
(final: super: { (final: super: {
@ -74,6 +77,5 @@
swraid.enable = lib.mkForce false; swraid.enable = lib.mkForce false;
}; };
nixpkgs.hostPlatform = "aarch64-linux"; nixpkgs.hostPlatform = "aarch64-linux";
} }

View file

@ -114,6 +114,5 @@
}; };
}; };
system.stateVersion = "25.05"; # great taboo of the nixos world system.stateVersion = "25.05"; # great taboo of the nixos world
} }