add app with nom, rework overlays
This commit is contained in:
parent
62c7179b62
commit
a29a5eb23c
3 changed files with 22 additions and 6 deletions
|
@ -1,9 +1,11 @@
|
||||||
{
|
{crossPkgs, ...}: {
|
||||||
inputs,
|
nixpkgs.overlays = [
|
||||||
crossPkgs,
|
(self: super: {
|
||||||
...
|
gnome-shell = crossPkgs.gnome-shell;
|
||||||
}: {
|
gnome-settings-daemon-mobile = crossPkgs.gnome-settings-daemon-mobile;
|
||||||
nixpkgs.overlays = [(self: super: inputs.gnome-mobile.overlays.default self crossPkgs)];
|
mutter = crossPkgs.mutter;
|
||||||
|
})
|
||||||
|
];
|
||||||
|
|
||||||
i18n.inputMethod = {
|
i18n.inputMethod = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
1
cross-overlays/quadphone/gnome.nix
Normal file
1
cross-overlays/quadphone/gnome.nix
Normal file
|
@ -0,0 +1 @@
|
||||||
|
inputs: inputs.gnome-mobile.overlays.default
|
13
flake.nix
13
flake.nix
|
@ -79,6 +79,11 @@
|
||||||
hostPlatform = info.system;
|
hostPlatform = info.system;
|
||||||
localSystem = info.system;
|
localSystem = info.system;
|
||||||
buildPlatform = "x86_64-linux";
|
buildPlatform = "x86_64-linux";
|
||||||
|
|
||||||
|
overlays = let
|
||||||
|
overlays = lib.filesystem.listFilesRecursive ./cross-overlays/${info.hostname};
|
||||||
|
in
|
||||||
|
map (file: import file inputs) overlays;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -108,6 +113,14 @@
|
||||||
|
|
||||||
perSystem = {pkgs, ...}: {
|
perSystem = {pkgs, ...}: {
|
||||||
formatter = pkgs.alejandra;
|
formatter = pkgs.alejandra;
|
||||||
|
apps.image = {
|
||||||
|
type = "app";
|
||||||
|
program = pkgs.writeShellApplication {
|
||||||
|
name = "image";
|
||||||
|
runtimeInputs = with pkgs; [nix-output-monitor];
|
||||||
|
text = "nix build .#nixosConfigurations.quadphone.config.system.build.image | nom";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
flake.nixosConfigurations = builtins.mapAttrs (name: value: system ({system = "x86_64-linux";} // value // {hostname = name;})) {
|
flake.nixosConfigurations = builtins.mapAttrs (name: value: system ({system = "x86_64-linux";} // value // {hostname = name;})) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue