aboutsummaryrefslogtreecommitdiff
path: root/flake
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-12-15 07:50:52 -0800
committerFranck Cuny <franck@fcuny.net>2023-12-15 07:50:52 -0800
commit3a359ff2daa5afb8ae1948eec12d39228e4193bb (patch)
treec0c52ae4d6161addb6c6ba9264e046d6f00cf904 /flake
parentenable deadnix for pre-commit hook (diff)
downloadinfra-3a359ff2daa5afb8ae1948eec12d39228e4193bb.tar.gz
various fixes for errors reported by deadnix
Diffstat (limited to '')
-rw-r--r--flake/hosts.nix2
-rw-r--r--flake/mba.nix20
2 files changed, 1 insertions, 21 deletions
diff --git a/flake/hosts.nix b/flake/hosts.nix
index b0bc74c..9ec9d1b 100644
--- a/flake/hosts.nix
+++ b/flake/hosts.nix
@@ -1,6 +1,6 @@
{ inputs, ... }:
let
- inherit (inputs) self nixpkgs darwin home-manager;
+ inherit (inputs) nixpkgs darwin home-manager;
inherit (nixpkgs.lib) mkMerge;
mkDarwinConfig = system: path:
diff --git a/flake/mba.nix b/flake/mba.nix
deleted file mode 100644
index 60ac876..0000000
--- a/flake/mba.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ nixpkgs, home-manager, darwin, inputs, ... }:
-
-let
- default-system = "aarch64-darwin";
-
- nixpkgsConfig = {
- config = {
- allowUnfree = true;
- };
- };
-in
-{
- system = darwin.lib.darwinSystem {
- system = default-system;
- modules = [
- ../hosts/mba
- home-manager.darwinModules.home-manager
- ];
- };
-}