mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 08:28:11 +09:00
apps
This commit is contained in:
@@ -371,9 +371,9 @@ do not retain compatibility aliases.
|
|||||||
|
|
||||||
The profile layers have these responsibilities:
|
The profile layers have these responsibilities:
|
||||||
|
|
||||||
- `base` contains only invariants required by every supported host. It currently
|
- `base` contains only invariants required by every supported host. It includes
|
||||||
includes only `systems.nix`; optional secrets, interface, hardware, and
|
`systems.nix` and the universal Atuin, tealdeer, trippy, and xh CLI tools;
|
||||||
workloads do not belong there.
|
optional secrets, interface, hardware, and workloads do not belong there.
|
||||||
- `interface` describes how the host is operated. `interface.cli` is shared by
|
- `interface` describes how the host is operated. `interface.cli` is shared by
|
||||||
NixOS and macOS and includes `tio`. `interface.gui` owns cross-platform
|
NixOS and macOS and includes `tio`. `interface.gui` owns cross-platform
|
||||||
graphical interface applications such as Vicinae. `interface.macos` owns the
|
graphical interface applications such as Vicinae. `interface.macos` owns the
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.atuin ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.baobab ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,31 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.celluloid ];
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplicationPackages = [ pkgs.celluloid ];
|
||||||
|
defaultApplications = builtins.listToAttrs (
|
||||||
|
map
|
||||||
|
(mime: {
|
||||||
|
name = mime;
|
||||||
|
value = [ "io.github.celluloid_player.Celluloid.desktop" ];
|
||||||
|
})
|
||||||
|
[
|
||||||
|
"video/3gpp"
|
||||||
|
"video/3gpp2"
|
||||||
|
"video/mp2t"
|
||||||
|
"video/mp4"
|
||||||
|
"video/mpeg"
|
||||||
|
"video/ogg"
|
||||||
|
"video/quicktime"
|
||||||
|
"video/webm"
|
||||||
|
"video/x-flv"
|
||||||
|
"video/x-m4v"
|
||||||
|
"video/x-matroska"
|
||||||
|
"video/x-msvideo"
|
||||||
|
"video/x-ms-wmv"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.easyeffects ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.gnome-disk-utility ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,28 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.loupe ];
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplicationPackages = [ pkgs.loupe ];
|
||||||
|
defaultApplications = builtins.listToAttrs (
|
||||||
|
map
|
||||||
|
(mime: {
|
||||||
|
name = mime;
|
||||||
|
value = [ "org.gnome.Loupe.desktop" ];
|
||||||
|
})
|
||||||
|
[
|
||||||
|
"image/avif"
|
||||||
|
"image/bmp"
|
||||||
|
"image/gif"
|
||||||
|
"image/heic"
|
||||||
|
"image/heif"
|
||||||
|
"image/jpeg"
|
||||||
|
"image/jxl"
|
||||||
|
"image/png"
|
||||||
|
"image/svg+xml"
|
||||||
|
"image/webp"
|
||||||
|
]
|
||||||
|
);
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,17 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.papers ];
|
||||||
|
|
||||||
|
xdg.mimeApps = {
|
||||||
|
enable = true;
|
||||||
|
defaultApplicationPackages = [ pkgs.papers ];
|
||||||
|
defaultApplications = {
|
||||||
|
"application/pdf" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
"application/postscript" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
"application/x-bzpdf" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
"application/x-gzpdf" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
"application/x-xzpdf" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
"image/tiff" = [ "org.gnome.Papers.desktop" ];
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.qalculate-gtk ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.resources ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.tealdeer ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.trippy ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, lib, ... }:
|
||||||
|
lib.mkIf pkgs.stdenv.hostPlatform.isLinux {
|
||||||
|
home.packages = [ pkgs.vlc ];
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
environment.systemPackages = [ pkgs.xh ];
|
||||||
|
}
|
||||||
@@ -15,8 +15,9 @@ hardware configuration remains in its owning unit.
|
|||||||
| `networking` | Network roles and topology | Per-profile |
|
| `networking` | Network roles and topology | Per-profile |
|
||||||
| `security` | Optional security and secret-management policies | Per-profile |
|
| `security` | Optional security and secret-management policies | Per-profile |
|
||||||
|
|
||||||
`base` intentionally contains only `systems.nix`. A unit belongs there only
|
`base` contains the shared Nix foundation plus the universally available CLI
|
||||||
when removing it from any supported host would make that host invalid.
|
tools (Atuin, tealdeer, trippy, and xh). A unit belongs there only when it is
|
||||||
|
required on every supported host.
|
||||||
|
|
||||||
## Compatibility
|
## Compatibility
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,11 @@
|
|||||||
{
|
{
|
||||||
description = "Host-independent Nix foundation required everywhere";
|
description = "Host-independent Nix foundation and command-line tools required everywhere";
|
||||||
|
|
||||||
includes = [ "systems.nix" ];
|
includes = [
|
||||||
|
"applications.atuin"
|
||||||
|
"applications.tealdeer"
|
||||||
|
"applications.trippy"
|
||||||
|
"applications.xh"
|
||||||
|
"systems.nix"
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,9 +4,18 @@
|
|||||||
includes = [
|
includes = [
|
||||||
"profiles.interface.gui"
|
"profiles.interface.gui"
|
||||||
"applications.fcitx5"
|
"applications.fcitx5"
|
||||||
|
"applications.baobab"
|
||||||
|
"applications.celluloid"
|
||||||
|
"applications.easyeffects"
|
||||||
|
"applications.gnome-disk-utility"
|
||||||
"applications.ghostty"
|
"applications.ghostty"
|
||||||
"applications.gtk"
|
"applications.gtk"
|
||||||
|
"applications.loupe"
|
||||||
"applications.nautilus"
|
"applications.nautilus"
|
||||||
|
"applications.papers"
|
||||||
|
"applications.qalculate-gtk"
|
||||||
|
"applications.resources"
|
||||||
|
"applications.vlc"
|
||||||
"hardwares.graphics"
|
"hardwares.graphics"
|
||||||
"services.gvfs"
|
"services.gvfs"
|
||||||
"services.polkit-gnome"
|
"services.polkit-gnome"
|
||||||
|
|||||||
Reference in New Issue
Block a user