Compare commits

...

5 Commits

Author SHA1 Message Date
Giulio De Pasquale
88583bcb82 Revert "Added this flake to hosts registry in mkHost"
This reverts commit 1ff83d84c7.
2023-02-19 06:01:34 +01:00
Giulio De Pasquale
7c3f8c55f9 Revert "Revert "flake: Some functions are anonymous now""
This reverts commit 2082c5e16e.
2023-02-19 05:58:00 +01:00
Giulio De Pasquale
2082c5e16e Revert "flake: Some functions are anonymous now"
This reverts commit b616b33c2f.
2023-02-19 05:57:46 +01:00
Giulio De Pasquale
b616b33c2f flake: Some functions are anonymous now 2023-02-19 05:40:52 +01:00
Giulio De Pasquale
d06cf1298b Removed unused role 2023-02-19 03:02:48 +01:00
3 changed files with 10 additions and 21 deletions

View File

@ -6,16 +6,15 @@
url = "github:nix-community/home-manager/release-22.11";
inputs.nixpkgs.follows = "nixpkgs";
};
pepe.url = "git+https://git.giugl.io/peperunas/nixos";
};
outputs = { self, nixpkgs, nixos-unstable, home-manager, pepe }:
outputs = { self, nixpkgs, nixos-unstable, home-manager }:
let
sysLinuxX64 = "x86_64-linux";
sysDarwin = "aarch64-darwin";
sysLinuxAarch = "aarch64-linux";
wrapPkgsSystem = { system }:
wrapPkgsSystem = system:
import nixpkgs rec {
inherit system;
@ -26,7 +25,7 @@
];
};
wrapUnstablePkgsSystem = { system }:
wrapUnstablePkgsSystem = system:
import nixos-unstable {
inherit system;
@ -39,7 +38,7 @@
inherit (pkgs) newScope;
in
makeScope newScope (self: rec {
inherit nixpkgs home-manager nixos-unstable pepe;
inherit nixpkgs home-manager nixos-unstable;
inherit (self.callPackage ./lib/utils.nix { }) mkSysRole mkHomeRole;
inherit (user) mkUser;
@ -48,16 +47,16 @@
});
pkgsLinuxX64 = wrapPkgsSystem { system = sysLinuxX64; };
unstableLinuxX64 = wrapUnstablePkgsSystem { system = sysLinuxX64; };
pkgsLinuxX64 = wrapPkgsSystem sysLinuxX64;
unstableLinuxX64 = wrapUnstablePkgsSystem sysLinuxX64;
utilsLinuxX64 = wrapUtils { system = sysLinuxX64; pkgs = pkgsLinuxX64; unstablePkgs = unstableLinuxX64; };
pkgsLinuxAarch = wrapPkgsSystem { system = sysLinuxAarch; };
unstableLinuxAarch = wrapUnstablePkgsSystem { system = sysLinuxAarch; };
pkgsLinuxAarch = wrapPkgsSystem sysLinuxAarch;
unstableLinuxAarch = wrapUnstablePkgsSystem sysLinuxAarch;
utilsLinuxAarch = wrapUtils { system = sysLinuxAarch; pkgs = pkgsLinuxAarch; unstablePkgs = unstableLinuxAarch; };
pkgsDarwin = wrapPkgsSystem { system = sysDarwin; };
unstableDarwin = wrapUnstablePkgsSystem { system = sysDarwin; };
pkgsDarwin = wrapPkgsSystem sysDarwin;
unstableDarwin = wrapUnstablePkgsSystem sysDarwin;
utilsDarwin = wrapUtils { system = sysDarwin; pkgs = pkgsDarwin; unstablePkgs = unstableDarwin; };
in
{

View File

@ -3,7 +3,6 @@
, nixos-unstable
, unstablePkgs
, home-manager
, pepe
, system
, mkHomeRole
, mkSysRole
@ -44,7 +43,6 @@
registry = {
nixpkgs.flake = nixpkgs;
unstable.flake = nixos-unstable;
pepe.flake = pepe;
};
};

View File

@ -1,8 +0,0 @@
{ ... }:
{
programs.zsh = {
enableBashCompletion = true;
enableCompletion = true;
};
}