diff options
author | Franck Cuny <franck@fcuny.net> | 2023-12-09 09:15:23 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2023-12-09 09:15:23 -0800 |
commit | 543fcc38c9c48349d6988b1ace119f0cef2d6efa (patch) | |
tree | ae8174b09797fd19e365f60bf25a9d20b222c855 /nix | |
parent | install kind / configure the dock (diff) | |
download | world-543fcc38c9c48349d6988b1ace119f0cef2d6efa.tar.gz |
delete even more unused configurations
Diffstat (limited to 'nix')
-rw-r--r-- | nix/default.nix | 4 | ||||
-rw-r--r-- | nix/mkHomeManagerConfiguration.nix | 45 | ||||
-rw-r--r-- | nix/mkSystem.nix | 29 |
3 files changed, 0 insertions, 78 deletions
diff --git a/nix/default.nix b/nix/default.nix deleted file mode 100644 index 2e76200..0000000 --- a/nix/default.nix +++ /dev/null @@ -1,4 +0,0 @@ -inputs: { - mkSystem = import ./mkSystem.nix inputs; - mkHomeManagerConfiguration = import ./mkHomeManagerConfiguration.nix inputs; -} diff --git a/nix/mkHomeManagerConfiguration.nix b/nix/mkHomeManagerConfiguration.nix deleted file mode 100644 index 38bc19f..0000000 --- a/nix/mkHomeManagerConfiguration.nix +++ /dev/null @@ -1,45 +0,0 @@ -inputs@{ self, ... }: -{ system ? "x86_64-linux" -, username ? "fcuny" -, hostname -, stateVersion ? "22.11" -, -}: -let - naersk = inputs.naersk.lib."${system}"; -in -inputs.home-manager.lib.homeManagerConfiguration { - modules = [ - "${self}/hosts/${hostname}/home.nix" - { - home = { - username = username; - homeDirectory = "/home/${username}"; - stateVersion = stateVersion; - }; - homeage = { - identityPaths = [ "~/.age/key.txt" ]; - installationType = "activation"; - mount = "/home/${username}/.secrets"; - }; - imports = [ inputs.homeage.homeManagerModules.homeage ]; - } - ]; - - extraSpecialArgs = { inherit inputs self; }; - - pkgs = import inputs.nixpkgs { - inherit system; - config.allowUnfree = true; - overlays = [ - inputs.emacs-overlay.overlay - inputs.nur.overlay - inputs.naersk.overlay - inputs.rust.overlays.default - (final: prev: - { - tools = import "${self}/tools" { pkgs = prev; inherit naersk; }; - }) - ]; - }; -} diff --git a/nix/mkSystem.nix b/nix/mkSystem.nix deleted file mode 100644 index bf141da..0000000 --- a/nix/mkSystem.nix +++ /dev/null @@ -1,29 +0,0 @@ -inputs@{ self, ... }: -{ system ? "x86_64-linux", hostname, }: -let - naersk = inputs.naersk.lib."${system}"; -in -inputs.nixpkgs.lib.nixosSystem { - inherit system; - specialArgs = { inherit inputs system hostname self; }; - modules = [ - "${self}/modules" - "${self}/hosts/${hostname}" - "${self}/modules/homelab" - "${self}/modules/private-wireguard.nix" - { - networking.hostName = hostname; - nixpkgs = { - config.allowUnfree = true; - overlays = [ - inputs.nur.overlay - inputs.rust.overlays.default - (final: prev: - { - tools = import "${self}/tools" { pkgs = prev; inherit naersk; }; - }) - ]; - }; - } - ]; -} |