Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 1 | { |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 2 | description = "The Chimera nix configuration flake, a shared system configuration"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 3 | |
| 4 | inputs = { |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 5 | anyrun = { |
| 6 | url = "github:Kirottu/anyrun"; |
| 7 | inputs.nixpkgs.follows = "nixpkgs"; |
| 8 | }; |
| 9 | |
Skyler Grey | 57f6b78 | 2024-03-13 14:43:09 +0000 | [diff] [blame] | 10 | collabora-gtimelog = { |
| 11 | url = "git+https://gitlab.collabora.com/collabora/gtimelog.git"; |
| 12 | flake = false; |
| 13 | }; |
| 14 | collabora-icon = { |
| 15 | url = "https://www.collabora.com/favicon.ico"; |
| 16 | flake = false; |
| 17 | }; |
| 18 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 19 | ewwsalmoomedits--eww-widgets = { |
| 20 | url = "github:saimoomedits/eww-widgets"; |
| 21 | flake = false; |
| 22 | }; |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 23 | |
Skyler Grey | 33e8663 | 2024-05-24 23:57:45 +0000 | [diff] [blame] | 24 | firefox-sidebery-gnome = { |
| 25 | url = "github:rafaelmardojai/firefox-gnome-theme"; |
| 26 | flake = false; |
| 27 | }; |
| 28 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 29 | home-manager = { |
| 30 | url = "github:nix-community/home-manager"; |
| 31 | inputs.nixpkgs.follows = "nixpkgs"; |
| 32 | }; |
| 33 | |
Skyler Grey | 55d3edc | 2024-05-25 12:22:30 +0000 | [diff] [blame] | 34 | lix = { |
| 35 | url = "git+https://git@git.lix.systems/lix-project/lix?ref=refs/tags/2.90-beta.1"; |
| 36 | flake = false; |
| 37 | }; |
| 38 | lix-module = { |
| 39 | url = "git+https://git.lix.systems/lix-project/nixos-module"; |
| 40 | inputs.lix.follows = "lix"; |
| 41 | inputs.nixpkgs.follows = "nixpkgs"; |
| 42 | }; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 43 | |
| 44 | nix-index-database = { |
| 45 | url = "github:nix-community/nix-index-database"; |
| 46 | inputs.nixpkgs.follows = "nixpkgs"; |
| 47 | }; |
| 48 | |
Skyler Grey | 5db90f9 | 2024-02-25 11:24:31 +0000 | [diff] [blame] | 49 | nixos-hardware.url = "github:nixos/nixos-hardware/master"; |
| 50 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 51 | nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; |
| 52 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 53 | nur.url = "github:nix-community/nur"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 54 | |
| 55 | snowfall-lib = { |
Skyler Grey | 694958e | 2024-02-29 23:54:28 +0000 | [diff] [blame] | 56 | url = "github:snowfallorg/lib/dev"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 57 | inputs.nixpkgs.follows = "nixpkgs"; |
| 58 | }; |
| 59 | |
| 60 | sops-nix.url = "github:Mic92/sops-nix"; |
Samuel Shuert | 804f81b | 2024-02-21 22:20:01 +0000 | [diff] [blame] | 61 | |
| 62 | templates.url = "git+https://git.clicks.codes/Templates"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 63 | }; |
| 64 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 65 | outputs = |
| 66 | { self, nixpkgs, ... }@inputs: |
Skyler Grey | 694958e | 2024-02-29 23:54:28 +0000 | [diff] [blame] | 67 | inputs.snowfall-lib.mkFlake { |
| 68 | inherit inputs; |
| 69 | src = ./.; |
| 70 | |
| 71 | homes.modules = [ |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 72 | inputs.anyrun.homeManagerModules.default |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 73 | inputs.nur.hmModules.nur |
Samuel Shuert | 73a9d28 | 2024-02-23 18:43:32 +0000 | [diff] [blame] | 74 | inputs.nix-index-database.hmModules.nix-index |
Skyler Grey | 57f6b78 | 2024-03-13 14:43:09 +0000 | [diff] [blame] | 75 | inputs.sops-nix.homeManagerModules.sops |
Samuel Shuert | d7ad8db | 2024-02-20 20:53:34 +0000 | [diff] [blame] | 76 | ]; |
Samuel Shuert | d7ad8db | 2024-02-20 20:53:34 +0000 | [diff] [blame] | 77 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 78 | systems.modules.nixos = [ |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 79 | inputs.nur.nixosModules.nur |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 80 | inputs.sops-nix.nixosModules.sops |
Skyler Grey | 55d3edc | 2024-05-25 12:22:30 +0000 | [diff] [blame] | 81 | inputs.lix-module.nixosModules.default |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 82 | ]; |
| 83 | |
Skyler Grey | 5db90f9 | 2024-02-25 11:24:31 +0000 | [diff] [blame] | 84 | systems.hosts.greylag.modules = [ |
| 85 | inputs.nixos-hardware.nixosModules.framework-13th-gen-intel |
| 86 | ]; |
| 87 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 88 | snowfall = { |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 89 | namespace = "chimera"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 90 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 91 | meta.name = "chimera"; |
| 92 | meta.title = "Coded and Minion's Nix Configurations"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 93 | }; |
| 94 | |
| 95 | outputs-builder = channels: { |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 96 | formatter = nixpkgs.legacyPackages.${channels.nixpkgs.system}.nixfmt-rfc-style; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 97 | }; |
| 98 | |
| 99 | channels-config = { |
| 100 | allowUnfree = true; |
| 101 | }; |
| 102 | }; |
| 103 | } |