Skip to content

Commit 01d35cb

Browse files
committed
nix: nixos-flake -> nixos-unified
1 parent 5636a85 commit 01d35cb

File tree

3 files changed

+12
-14
lines changed

3 files changed

+12
-14
lines changed

flake.lock

+7-7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

+5-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
home-manager.url = "github:nix-community/home-manager";
99
home-manager.inputs.nixpkgs.follows = "nixpkgs";
1010
flake-parts.url = "github:hercules-ci/flake-parts";
11-
nixos-flake.url = "github:srid/nixos-flake";
11+
nixos-unified.url = "github:srid/nixos-unified";
1212
systems.url = "github:nix-systems/default";
1313

1414
# Software inputs
@@ -27,7 +27,7 @@
2727
inputs.flake-parts.lib.mkFlake { inherit inputs; } {
2828
systems = [ "x86_64-linux" ];
2929
imports = [
30-
inputs.nixos-flake.flakeModule
30+
inputs.nixos-unified.flakeModule
3131
inputs.treefmt-nix.flakeModule
3232
];
3333

@@ -44,8 +44,9 @@
4444

4545
flake = {
4646
# Configurations for Linux (NixOS) machines
47-
nixosConfigurations.enigma = self.nixos-flake.lib.mkLinuxSystem
48-
./hosts/enigma/configuration.nix;
47+
nixosConfigurations.enigma = self.nixos-unified.lib.mkLinuxSystem { home-manager = true; } {
48+
imports = [ ./hosts/enigma/configuration.nix ];
49+
};
4950
};
5051
};
5152
}

nixos/common.nix

-3
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@
22
{ flake, pkgs, ... }:
33

44
{
5-
imports = [
6-
flake.inputs.self.nixosModules.home-manager
7-
];
85

96
# Some machines may not have ethernet.
107
networking.networkmanager.enable = true;

0 commit comments

Comments
 (0)