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 | b3d7b04 | 2024-07-01 00:48:13 +0000 | [diff] [blame] | 34 | jujutsu = { |
Skyler Grey | a5585a0 | 2024-05-26 21:23:33 +0000 | [diff] [blame] | 35 | url = "github:martinvonz/jj?rev=a43b0cde97e14b92dace47ead9f0e968310cab4e"; |
Samuel Shuert | 291d96b | 2024-10-14 14:45:24 -0400 | [diff] [blame] | 36 | # inputs.nixpkgs.follows = "nixpkgs"; |
Skyler Grey | b3d7b04 | 2024-07-01 00:48:13 +0000 | [diff] [blame] | 37 | }; |
| 38 | |
Skyler Grey | 55d3edc | 2024-05-25 12:22:30 +0000 | [diff] [blame] | 39 | lix-module = { |
Skyler Grey | 035c8d1 | 2024-05-26 21:23:33 +0000 | [diff] [blame] | 40 | url = "git+https://git.lix.systems/lix-project/nixos-module?ref=refs/tags/2.91.0"; |
Skyler Grey | 55d3edc | 2024-05-25 12:22:30 +0000 | [diff] [blame] | 41 | inputs.nixpkgs.follows = "nixpkgs"; |
| 42 | }; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 43 | |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 44 | niri-flake = { |
| 45 | url = "github:sodiboo/niri-flake"; |
| 46 | inputs = { |
| 47 | niri-unstable.follows = "niri-flake/niri-stable"; |
| 48 | nixpkgs.follows = "nixpkgs"; |
| 49 | nixpkgs-stable.follows = "nixpkgs"; |
| 50 | }; |
| 51 | }; |
| 52 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 53 | nix-index-database = { |
| 54 | url = "github:nix-community/nix-index-database"; |
| 55 | inputs.nixpkgs.follows = "nixpkgs"; |
| 56 | }; |
| 57 | |
Skyler Grey | 5db90f9 | 2024-02-25 11:24:31 +0000 | [diff] [blame] | 58 | nixos-hardware.url = "github:nixos/nixos-hardware/master"; |
| 59 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 60 | nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; |
| 61 | |
Samuel Shuert | 291d96b | 2024-10-14 14:45:24 -0400 | [diff] [blame] | 62 | nixpkgs-stable.url = "github:nixos/nixpkgs/nixos-24.05"; |
| 63 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 64 | nur.url = "github:nix-community/nur"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 65 | |
Skyler Grey | cf0b856 | 2024-10-02 22:14:37 +0000 | [diff] [blame] | 66 | radicle.url = "git+https://seed.radicle.xyz/z3gqcJUoA1n9HaHKufZs5FCSGazv5.git"; |
| 67 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 68 | snowfall-lib = { |
Skyler Grey | 694958e | 2024-02-29 23:54:28 +0000 | [diff] [blame] | 69 | url = "github:snowfallorg/lib/dev"; |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 70 | inputs.nixpkgs.follows = "nixpkgs"; |
| 71 | }; |
| 72 | |
| 73 | sops-nix.url = "github:Mic92/sops-nix"; |
Samuel Shuert | 804f81b | 2024-02-21 22:20:01 +0000 | [diff] [blame] | 74 | |
| 75 | templates.url = "git+https://git.clicks.codes/Templates"; |
Skyler Grey | 903051b | 2024-05-25 13:30:43 +0000 | [diff] [blame] | 76 | |
| 77 | emacs-overlay.url = "github:nix-community/emacs-overlay"; |
Samuel Shuert | 5dc7eb1 | 2024-08-19 16:31:54 -0400 | [diff] [blame] | 78 | |
| 79 | zen-browser.url = "github:MarceColl/zen-browser-flake"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 80 | }; |
| 81 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 82 | outputs = |
| 83 | { self, nixpkgs, ... }@inputs: |
Skyler Grey | 694958e | 2024-02-29 23:54:28 +0000 | [diff] [blame] | 84 | inputs.snowfall-lib.mkFlake { |
| 85 | inherit inputs; |
| 86 | src = ./.; |
| 87 | |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 88 | overlays = [ |
Skyler Grey | 903051b | 2024-05-25 13:30:43 +0000 | [diff] [blame] | 89 | inputs.emacs-overlay.overlays.default |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 90 | inputs.niri-flake.overlays.niri |
| 91 | ]; |
| 92 | |
Skyler Grey | 694958e | 2024-02-29 23:54:28 +0000 | [diff] [blame] | 93 | homes.modules = [ |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 94 | inputs.anyrun.homeManagerModules.default |
Samuel Shuert | 659b564 | 2024-02-23 20:47:43 +0000 | [diff] [blame] | 95 | inputs.nur.hmModules.nur |
Samuel Shuert | 73a9d28 | 2024-02-23 18:43:32 +0000 | [diff] [blame] | 96 | inputs.nix-index-database.hmModules.nix-index |
Skyler Grey | 57f6b78 | 2024-03-13 14:43:09 +0000 | [diff] [blame] | 97 | inputs.sops-nix.homeManagerModules.sops |
Skyler Grey | 69a999e | 2024-05-23 00:09:10 +0000 | [diff] [blame] | 98 | inputs.niri-flake.homeModules.niri |
Samuel Shuert | d7ad8db | 2024-02-20 20:53:34 +0000 | [diff] [blame] | 99 | ]; |
Samuel Shuert | d7ad8db | 2024-02-20 20:53:34 +0000 | [diff] [blame] | 100 | |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 101 | systems.modules.nixos = [ |
Samuel Shuert | 02ffd1e | 2024-02-13 21:37:15 -0500 | [diff] [blame] | 102 | inputs.nur.nixosModules.nur |
Samuel Shuert | 2e42e67 | 2024-02-21 21:49:28 +0000 | [diff] [blame] | 103 | inputs.sops-nix.nixosModules.sops |
Skyler Grey | 55d3edc | 2024-05-25 12:22:30 +0000 | [diff] [blame] | 104 | inputs.lix-module.nixosModules.default |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 105 | ]; |
| 106 | |
Skyler Grey | 5db90f9 | 2024-02-25 11:24:31 +0000 | [diff] [blame] | 107 | systems.hosts.greylag.modules = [ |
| 108 | inputs.nixos-hardware.nixosModules.framework-13th-gen-intel |
| 109 | ]; |
| 110 | |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 111 | snowfall = { |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 112 | namespace = "chimera"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 113 | |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 114 | meta.name = "chimera"; |
Samuel Shuert | 844484b | 2024-06-20 21:18:34 -0400 | [diff] [blame] | 115 | meta.title = "A Well Opinionated Nix Configurations"; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 116 | }; |
| 117 | |
| 118 | outputs-builder = channels: { |
Skyler Grey | 4e23089 | 2024-02-13 22:58:46 +0000 | [diff] [blame] | 119 | formatter = nixpkgs.legacyPackages.${channels.nixpkgs.system}.nixfmt-rfc-style; |
Skyler Grey | a0da6b2 | 2024-02-11 22:53:41 +0000 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | channels-config = { |
| 123 | allowUnfree = true; |
| 124 | }; |
| 125 | }; |
| 126 | } |