summaryrefslogtreecommitdiffstats
path: root/flake.nix
diff options
context:
space:
mode:
Diffstat (limited to 'flake.nix')
-rw-r--r--flake.nix40
1 files changed, 26 insertions, 14 deletions
diff --git a/flake.nix b/flake.nix
index e795f89..6e17161 100644
--- a/flake.nix
+++ b/flake.nix
@@ -1,27 +1,39 @@
{
description = "4th flake";
inputs = {
+ old-nixpkgs.url = "github:NixOS/nixpkgs/55d1f923c480dadce40f5231feb472e81b0bab48";
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manager.url = "github:nix-community/home-manager/release-26.05";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
fetchit.url = "git+https://git.coasteen.xyz/coast/fetchit.git";
};
- outputs = { self, nixpkgs, home-manager, fetchit, ... }@inputs: {
+
+ outputs = { self, old-nixpkgs, nixpkgs, home-manager, fetchit, ... }@inputs: {
nixosConfigurations.unix = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
- specialArgs = { inherit inputs; };
- modules =
- [
- ./configuration
- home-manager.nixosModules.home-manager
- {
- home-manager.useGlobalPkgs = true;
- home-manager.useUserPackages = true;
- home-manager.users.coast = import ./home-configuration/default.nix;
- home-manager.backupFileExtension = "home-backup";
- home-manager.extraSpecialArgs = { inherit inputs; };
- }
- ];
+ specialArgs = {
+ inherit inputs;
+ };
+ modules = [
+ ./configuration
+ home-manager.nixosModules.home-manager
+ {
+ nixpkgs.overlays = [
+ (final: prev: {
+ xdg-desktop-portal =
+ old-nixpkgs.legacyPackages.x86_64-linux.xdg-desktop-portal;
+ })
+ ];
+ home-manager.useGlobalPkgs = true;
+ home-manager.useUserPackages = true;
+ home-manager.users.coast =
+ import ./home-configuration/default.nix;
+ home-manager.backupFileExtension = "home-backup";
+ home-manager.extraSpecialArgs = {
+ inherit inputs;
+ };
+ }
+ ];
};
};
}