refactor: simplify flake

This commit is contained in:
Michael Mandl 2022-12-08 14:09:27 +01:00
parent 316d877765
commit 0f0c7b634b
Signed by: mandlm
GPG key ID: 4AA25D647AA54CC7

View file

@ -8,7 +8,7 @@
}; };
}; };
outputs = inputs @ { self, nixpkgs, home-manager, ... }: outputs = { self, nixpkgs, home-manager }:
let let
user = "mandlm"; user = "mandlm";
theme = "dark"; # dark or light theme = "dark"; # dark or light
@ -17,7 +17,6 @@
nixosConfigurations = { nixosConfigurations = {
nixos-vm = nixpkgs.lib.nixosSystem { nixos-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix
@ -38,7 +37,6 @@
apache = nixpkgs.lib.nixosSystem { apache = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix
@ -62,7 +60,6 @@
p330 = nixpkgs.lib.nixosSystem { p330 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix
@ -86,7 +83,6 @@
yoga = nixpkgs.lib.nixosSystem { yoga = nixpkgs.lib.nixosSystem {
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = inputs;
modules = [ modules = [
./configuration.nix ./configuration.nix
./users.nix ./users.nix