41 lines
1.3 KiB
Nix
41 lines
1.3 KiB
Nix
{
|
|
description = "NixOS configuration";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
|
home-manager.url = "github:nix-community/home-manager/release-25.05";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
nixcord.url = "github:KaylorBen/nixcord/411d48a6";
|
|
nix-flatpak.url = "github:gmodena/nix-flatpak";
|
|
envfetch.url = "github:locomiadev/envfetch";
|
|
firefox-gnome-theme = { url = "github:rafaelmardojai/firefox-gnome-theme"; flake = false; };
|
|
};
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, ... }: {
|
|
nixosConfigurations = {
|
|
desktop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./system
|
|
home-manager.nixosModules.home-manager
|
|
{
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.extraSpecialArgs = { inherit inputs; };
|
|
|
|
home-manager.users.user = import ./modules;
|
|
|
|
home-manager.sharedModules = [
|
|
inputs.nixcord.homeModules.nixcord
|
|
inputs.nix-flatpak.homeManagerModules.nix-flatpak
|
|
];
|
|
|
|
home-manager.backupFileExtension = "backup94";
|
|
}
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|