2021-11-01 20:33:21 +00:00
|
|
|
{
|
|
|
|
description = "PapaTutuWawa's flake configuration";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
home-manager.url = "github:nix-community/home-manager/master";
|
|
|
|
flake-utils.url = "github:numtide/flake-utils";
|
2022-01-17 20:38:45 +00:00
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2021-11-15 22:39:42 +00:00
|
|
|
stable.url = "github:nixos/nixpkgs/nixos-21.05";
|
2021-11-01 20:33:21 +00:00
|
|
|
emacs.url = "github:nix-community/emacs-overlay";
|
|
|
|
nur.url = "github:nix-community/nur";
|
2022-03-27 10:30:13 +00:00
|
|
|
ostylk.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Config.git";
|
|
|
|
ostylk-home.url = "git+https://destiny.ostylk.de/gitea/NixDistro/Home.git";
|
2022-01-06 12:25:26 +00:00
|
|
|
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
|
2022-04-23 11:34:35 +00:00
|
|
|
tablet-mode.url = "git+https://destiny.ostylk.de/gitea/NixDistro/tablet-mode.git";
|
2021-11-01 20:33:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = {
|
|
|
|
self
|
|
|
|
, nixpkgs
|
|
|
|
, home-manager
|
|
|
|
, flake-utils
|
2022-03-27 10:30:13 +00:00
|
|
|
, ostylk-home
|
2021-11-01 20:33:21 +00:00
|
|
|
, ...
|
|
|
|
}@inputs: let
|
|
|
|
inherit (import ./lib/flake.nix {
|
|
|
|
inherit flake-utils;
|
|
|
|
inherit (nixpkgs) lib;
|
|
|
|
}) eachDefaultLinuxSystem;
|
|
|
|
mkSystem = import ./lib/mkSystem.nix {
|
|
|
|
inherit inputs;
|
2022-02-24 10:06:07 +00:00
|
|
|
inherit (inputs) nur emacs tablet-mode;
|
2021-11-01 20:33:21 +00:00
|
|
|
inherit (nixpkgs) lib config;
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
# Defines outputs that is not dependent on a specific system, i.e. overlays
|
|
|
|
overlay = import ./packages;
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
|
|
|
miku = mkSystem {
|
|
|
|
hostConfigFile = ./hosts/miku.nix;
|
|
|
|
};
|
2021-11-04 14:11:46 +00:00
|
|
|
mashu = mkSystem {
|
|
|
|
hostConfigFile = ./hosts/mashu.nix;
|
|
|
|
};
|
2021-11-06 14:18:27 +00:00
|
|
|
nishimiya = mkSystem {
|
|
|
|
hostConfigFile = ./hosts/nishimiya.nix;
|
|
|
|
};
|
2021-11-01 20:33:21 +00:00
|
|
|
};
|
|
|
|
} // eachDefaultLinuxSystem (system: {
|
|
|
|
packages = let
|
|
|
|
pkgs = import nixpkgs {
|
|
|
|
inherit system;
|
|
|
|
|
|
|
|
overlays = [
|
|
|
|
self.overlay
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in {
|
2023-04-30 13:22:52 +00:00
|
|
|
inherit (pkgs) wayqt dfl-ipc dfl-applications dfl-utils qtgreet xwaylandvideobridge obs-cli rgb_keyboard;
|
2021-11-01 20:33:21 +00:00
|
|
|
};
|
|
|
|
});
|
|
|
|
}
|