Update flake.nix

This commit is contained in:
ediblerope 2026-04-05 11:20:36 +01:00 committed by GitHub
parent cde1bef064
commit 8473d70c52
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,19 +1,11 @@
{ {
description = "FredOS NixOS configuration"; description = "FredOS NixOS configuration";
inputs = { inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = { home-manager = {
url = "github:nix-community/home-manager"; url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
omnisearch = {
url = "https://git.bwaaa.monster/omnisearch/snapshot/omnisearch-master.tar.gz";
inputs.nixpkgs.follows = "nixpkgs";
};
zen-browser = { zen-browser = {
url = "github:0xc000022070/zen-browser-flake"; url = "github:0xc000022070/zen-browser-flake";
inputs = { inputs = {
@ -23,11 +15,9 @@
}; };
nix-flatpak.url = "github:gmodena/nix-flatpak"; nix-flatpak.url = "github:gmodena/nix-flatpak";
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release"; nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
}; };
outputs = { self, nixpkgs, home-manager, zen-browser, nix-flatpak, nix-cachyos-kernel, ... } @ inputs:
outputs = { self, nixpkgs, home-manager, omnisearch, zen-browser, nix-flatpak, nix-cachyos-kernel, ... } @ inputs:
let let
system = "x86_64-linux"; system = "x86_64-linux";
mkHost = hostname: nixpkgs.lib.nixosSystem { mkHost = hostname: nixpkgs.lib.nixosSystem {
@ -39,7 +29,6 @@
./common.nix ./common.nix
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-flatpak.nixosModules.nix-flatpak nix-flatpak.nixosModules.nix-flatpak
omnisearch.nixosModules.default
]; ];
}; };
in { in {
@ -49,4 +38,4 @@
FredOS-Macbook = mkHost "FredOS-Macbook"; FredOS-Macbook = mkHost "FredOS-Macbook";
}; };
}; };
} }