removed unneeded code from flake.nix

This commit is contained in:
Leyla Becker 2024-11-24 23:04:04 -06:00
parent 533ad19e7c
commit bc53ae6ee2

View file

@ -72,11 +72,11 @@
forEachPkgs = util.forEachPkgs; forEachPkgs = util.forEachPkgs;
mkSystem = util.mkSystem; mkSystem = util.mkSystem;
mkHome = util.mkHome; mkHome = util.mkHome;
# callPackage = nixpkgs.lib.callPackageWith (nixpkgs // {lib = lib;});
# lib = callPackage ./lib {} // nixpkgs.lib;
in { in {
formatter = forEachPkgs (pkgs: pkgs.alejandra); formatter = forEachPkgs (pkgs: pkgs.alejandra);
# templates = import ./templates;
devShells = forEachPkgs (pkgs: { devShells = forEachPkgs (pkgs: {
default = pkgs.mkShell { default = pkgs.mkShell {
packages = with pkgs; [ packages = with pkgs; [
@ -106,12 +106,7 @@
self.nixosConfigurations self.nixosConfigurations
); );
# homeConfigurations = {
# "leyla@horizon" = mkHome "leyla" "horizon"; # "x86_64-linux" ./homes/leyla;
# };
nixosConfigurations = { nixosConfigurations = {
# Leyla Laptop
horizon = mkSystem "horizon"; horizon = mkSystem "horizon";
twilight = mkSystem "twilight"; twilight = mkSystem "twilight";
defiant = mkSystem "defiant"; defiant = mkSystem "defiant";