mirror of
https://github.com/moons-14/dotfiles.git
synced 2026-10-06 04:08:12 +09:00
vicinae
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
}:
|
||||
let
|
||||
isLinux = pkgs.stdenv.hostPlatform.isLinux;
|
||||
isDarwin = pkgs.stdenv.hostPlatform.isDarwin;
|
||||
extensions = inputs.vicinae-extensions.packages.${pkgs.stdenv.hostPlatform.system};
|
||||
in
|
||||
{
|
||||
@@ -16,6 +17,10 @@ in
|
||||
autoStart = true;
|
||||
environment.USE_LAYER_SHELL = 1;
|
||||
};
|
||||
launchd = lib.mkIf isDarwin {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
settings = {
|
||||
font.size = 11;
|
||||
close_on_focus_loss = true;
|
||||
|
||||
@@ -24,6 +24,7 @@ when removing it from any supported host would make that host invalid.
|
||||
| ------------------------------------ | ------------------------------------- |
|
||||
| `base` | NixOS, macOS |
|
||||
| `interface.cli` | NixOS, macOS with Home Manager |
|
||||
| `interface.gui` | NixOS, macOS with Home Manager |
|
||||
| `interface.macos` | macOS |
|
||||
| `interface.linux-desktop` | NixOS with Home Manager |
|
||||
| `interface.gnome` | NixOS with Home Manager |
|
||||
@@ -46,7 +47,8 @@ when removing it from any supported host would make that host invalid.
|
||||
|
||||
Select independent concerns independently in `hosts/default.nix`. For example,
|
||||
a NixOS desktop can combine `interface.gnome` and `interface.niri` to provide
|
||||
both sessions while sharing `interface.linux-desktop`; niri supplies ly. A
|
||||
both sessions while sharing `interface.linux-desktop` and `interface.gui`; niri
|
||||
supplies ly. A
|
||||
daily-use macOS development machine can combine `interface.macos`,
|
||||
`workload.development`, and `workload.personal`. Hardware support does not
|
||||
implicitly select an interface or workload.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
description = "Cross-platform graphical interface applications";
|
||||
|
||||
includes = [ "applications.vicinae" ];
|
||||
}
|
||||
@@ -2,11 +2,11 @@
|
||||
description = "Shared NixOS graphical desktop foundation";
|
||||
|
||||
includes = [
|
||||
"profiles.interface.gui"
|
||||
"applications.fcitx5"
|
||||
"applications.ghostty"
|
||||
"applications.gtk"
|
||||
"applications.nautilus"
|
||||
"applications.vicinae"
|
||||
"hardwares.graphics"
|
||||
"systems.audio"
|
||||
"systems.fonts"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
description = "macOS graphical interface defaults";
|
||||
|
||||
includes = [
|
||||
"profiles.interface.gui"
|
||||
"systems.dock"
|
||||
"systems.trackpad"
|
||||
];
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
description = "Foundation shared by all NixOS platforms";
|
||||
|
||||
includes = [
|
||||
"systems.disko"
|
||||
"systems.boot.base"
|
||||
"systems.locale"
|
||||
"systems.networking.base"
|
||||
|
||||
@@ -1,4 +1,13 @@
|
||||
{ lib, ... }:
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
disko.enableConfig = lib.mkDefault false;
|
||||
|
||||
environment.systemPackages = [
|
||||
inputs.disko.packages.${pkgs.stdenv.hostPlatform.system}.disko
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user