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