nix-configs/systems/COSMIC-flake.nix
2023-06-28 12:00:37 +00:00

41 lines
1.7 KiB
Nix

{
description = "Aaron's System Config";
inputs = {
nixpkgs.url = "nixpkgs/nixos-23.05";
cosmic-comp.url = "github:pop-os/cosmic-comp/master_jammy";
cosmic-panel.url = "github:pop-os/cosmic-panel/master_jammy";
cosmic-settings.url = "github:pop-os/cosmic-settings/master_jammy";
cosmic-settings-daemon.url = "github:pop-os/cosmic-settings-daemon/master_jammy";
cosmic-launcher.url = "github:pop-os/cosmic-launcher/master_jammy";
cosmic-applibrary.url = "github:pop-os/cosmic-applibrary/master_jammy";
cosmic-session.url = "github:pop-os/cosmic-session/ab26218ab2139dc884a66bdb57f6216b248670bf";
cosmic-applets.url = "github:pop-os/cosmic-applets/58c27e88603ad47479115b632d2fa87579d8fa39";
cosmic-workspaces.url = "github:pop-os/cosmic-workspaces-epoch/717c454a7e31c4ffc8baf6c1d1c90fd74a223e55";
cosmic-osd.url = "github:pop-os/cosmic-osd/b6d93f736d4b9ab3df4cceafaf59cd8c95859ed6";
cosmic-bg.url = "github:pop-os/cosmic-bg/master_jammy";
xdg-desktop-portal-cosmic.url = "github:pop-os/xdg-desktop-portal-cosmic/master_jammy";
};
outputs = { self, nixpkgs, cosmic-comp, cosmic-session, cosmic-panel, cosmic-applets, cosmic-settings, cosmic-settings-daemon, cosmic-launcher, cosmic-applibrary, cosmic-workspaces, cosmic-osd, xdg-desktop-portal-cosmic, cosmic-bg }@attrs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = { allowUnfree = true; };
};
cosmic-session.inputs.nixpkgs.follows = "nixpkgs";
lib = nixpkgs.lib;
in {
nixosConfigurations = {
nixos = lib.nixosSystem {
inherit system;
specialArgs.inputs = attrs;
modules = [
./configuration.nix
];
};
};
};
}