I use it so much; add fastfetch

This commit is contained in:
TheWanderingCrow 2025-12-05 09:16:42 -05:00
parent b119932d28
commit ae3e294a81

View file

@ -6,13 +6,12 @@
pkgs, pkgs,
isDarwin, isDarwin,
... ...
}: let }:
platform = let
if isDarwin platform = if isDarwin then "darwin" else "nixos";
then "darwin"
else "nixos";
platformModules = "${platform}Modules"; platformModules = "${platform}Modules";
in { in
{
system.stateVersion = "24.05"; system.stateVersion = "24.05";
imports = lib.flatten [ imports = lib.flatten [
@ -47,6 +46,7 @@ in {
environment.systemPackages = [ environment.systemPackages = [
pkgs.openssh pkgs.openssh
pkgs.file pkgs.file
pkgs.fastfetch
]; ];
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
@ -69,12 +69,15 @@ in {
min-free = 128000000; min-free = 128000000;
max-free = 1000000000; max-free = 1000000000;
experimental-features = ["nix-command" "flakes"]; experimental-features = [
"nix-command"
"flakes"
];
fallback = true; fallback = true;
auto-optimise-store = true; auto-optimise-store = true;
trusted-users = ["@wheel"]; trusted-users = [ "@wheel" ];
substituters = [ substituters = [
"https://cache.nixos.org/" "https://cache.nixos.org/"
"https://nix-community.cachix.org" "https://nix-community.cachix.org"