mirror of
https://github.com/zoriya/flake.git
synced 2026-06-01 10:15:45 +00:00
Dont hardcode arch
This commit is contained in:
+4
-3
@@ -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,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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user