Let's try this, stop building all the things

This commit is contained in:
Lillian Violet 2024-01-08 19:11:16 +01:00
parent b1a61026b4
commit 192d552731
2 changed files with 21 additions and 17 deletions

View file

@ -31,25 +31,25 @@
} @ inputs: let
inherit (self) outputs;
# Supported systems for your flake packages, shell, etc.
systems = [
"aarch64-linux"
"armv7l-linux"
"i686-linux"
"x86_64-linux"
"aarch64-darwin"
"armv7l-darwin"
"x86_64-darwin"
];
# This is a function that generates an attribute by calling a function you
# pass to it, with each system as an argument
forAllSystems = nixpkgs.lib.genAttrs systems;
# systems = [
# "aarch64-linux"
# "armv7l-linux"
# "i686-linux"
# "x86_64-linux"
# "aarch64-darwin"
# "armv7l-darwin"
# "x86_64-darwin"
# ];
# # This is a function that generates an attribute by calling a function you
# # pass to it, with each system as an argument
# forAllSystems = nixpkgs.lib.genAttrs systems;
in {
# Your custom packages
# Acessible through 'nix build', 'nix shell', etc
packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
# Formatter for your nix files, available through 'nix fmt'
# Other options beside 'alejandra' include 'nixpkgs-fmt'
formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
# packages = forAllSystems (system: import ./pkgs nixpkgs.legacyPackages.${system});
# # Formatter for your nix files, available through 'nix fmt'
# # Other options beside 'alejandra' include 'nixpkgs-fmt'
# formatter = forAllSystems (system: nixpkgs.legacyPackages.${system}.alejandra);
# Your custom packages and modifications, exported as overlays
overlays = import ./overlays {inherit inputs;};
@ -64,6 +64,7 @@
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {
EDI = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <
@ -75,6 +76,7 @@
nixosConfigurations = {
GLaDOS = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <
@ -86,6 +88,7 @@
nixosConfigurations = {
queen = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <
@ -97,6 +100,7 @@
nixosConfigurations = {
shodan = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = {inherit inputs outputs;};
modules = [
# > Our main nixos configuration file <

View file

@ -7,7 +7,7 @@
# NixOS wants to enable GRUB by default
boot.loader.grub.enable = false;
# Enables the generation of /boot/extlinux/extlinux.conf
#boot.loader.generic-extlinux-compatible.enable = true;
boot.loader.generic-extlinux-compatible.enable = true;
# nixos-generate-config should normally set up file systems correctly
imports = [