mirror of
https://github.com/zoriya/flake.git
synced 2026-06-04 19:26:09 +00:00
Dont hardcode arch
This commit is contained in:
+4
-3
@@ -23,10 +23,11 @@
|
|||||||
if darwin
|
if darwin
|
||||||
then ../modules/cli/darwin.nix
|
then ../modules/cli/darwin.nix
|
||||||
else ../modules/cli;
|
else ../modules/cli;
|
||||||
|
|
||||||
|
specialArgs = inputs // {inherit system;};
|
||||||
in
|
in
|
||||||
systemFunc {
|
systemFunc {
|
||||||
inherit system;
|
inherit system specialArgs;
|
||||||
specialArgs = inputs;
|
|
||||||
modules =
|
modules =
|
||||||
[
|
[
|
||||||
overlays
|
overlays
|
||||||
@@ -63,7 +64,7 @@ in
|
|||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
extraSpecialArgs = inputs;
|
extraSpecialArgs = specialArgs;
|
||||||
users.${user} = {
|
users.${user} = {
|
||||||
imports = [
|
imports = [
|
||||||
../modules/cli/home.nix
|
../modules/cli/home.nix
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
zen,
|
zen,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
# When editing this, don't forget to edit home.sessionVariables.
|
# When editing this, don't forget to edit home.sessionVariables.
|
||||||
@@ -19,7 +20,7 @@ in {
|
|||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
google-chrome
|
google-chrome
|
||||||
firefox
|
firefox
|
||||||
(import zen {system = "x86_64-linux";}).zen-browser
|
(import zen {system = system;}).zen-browser
|
||||||
vesktop
|
vesktop
|
||||||
mpv
|
mpv
|
||||||
xdg-utils
|
xdg-utils
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{ghostty, ...}: let
|
{ghostty, system, ...}: let
|
||||||
pkg = ghostty.packages.x86_64-linux.default;
|
pkg = ghostty.packages.${system}.default;
|
||||||
in {
|
in {
|
||||||
xdg.configFile."ghostty/config".source = ./ghostty.config;
|
xdg.configFile."ghostty/config".source = ./ghostty.config;
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
pkgs,
|
pkgs,
|
||||||
astal,
|
astal,
|
||||||
|
system,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
covercolors = pkgs.stdenv.mkDerivation {
|
covercolors = pkgs.stdenv.mkDerivation {
|
||||||
@@ -21,7 +22,7 @@
|
|||||||
prev.buildInputs
|
prev.buildInputs
|
||||||
++ [
|
++ [
|
||||||
pkgs.libdbusmenu-gtk3
|
pkgs.libdbusmenu-gtk3
|
||||||
astal.packages.x86_64-linux.river
|
astal.packages.${system}.river
|
||||||
];
|
];
|
||||||
});
|
});
|
||||||
in {
|
in {
|
||||||
|
|||||||
Reference in New Issue
Block a user