Dont hardcode arch

This commit is contained in:
2024-11-25 12:23:24 +01:00
parent 4e62dc9f79
commit 709140c8c7
4 changed files with 10 additions and 7 deletions
+4 -3
View File
@@ -23,10 +23,11 @@
if darwin
then ../modules/cli/darwin.nix
else ../modules/cli;
specialArgs = inputs // {inherit system;};
in
systemFunc {
inherit system;
specialArgs = inputs;
inherit system specialArgs;
modules =
[
overlays
@@ -63,7 +64,7 @@ in
home-manager = {
useGlobalPkgs = true;
useUserPackages = true;
extraSpecialArgs = inputs;
extraSpecialArgs = specialArgs;
users.${user} = {
imports = [
../modules/cli/home.nix
+2 -1
View File
@@ -2,6 +2,7 @@
config,
pkgs,
zen,
system,
...
}: let
# When editing this, don't forget to edit home.sessionVariables.
@@ -19,7 +20,7 @@ in {
home.packages = with pkgs; [
google-chrome
firefox
(import zen {system = "x86_64-linux";}).zen-browser
(import zen {system = system;}).zen-browser
vesktop
mpv
xdg-utils
+2 -2
View File
@@ -1,5 +1,5 @@
{ghostty, ...}: let
pkg = ghostty.packages.x86_64-linux.default;
{ghostty, system, ...}: let
pkg = ghostty.packages.${system}.default;
in {
xdg.configFile."ghostty/config".source = ./ghostty.config;
+2 -1
View File
@@ -1,6 +1,7 @@
{
pkgs,
astal,
system,
...
}: let
covercolors = pkgs.stdenv.mkDerivation {
@@ -21,7 +22,7 @@
prev.buildInputs
++ [
pkgs.libdbusmenu-gtk3
astal.packages.x86_64-linux.river
astal.packages.${system}.river
];
});
in {