File tree 3 files changed +12
-14
lines changed
3 files changed +12
-14
lines changed Original file line number Diff line number Diff line change 8
8
home-manager . url = "github:nix-community/home-manager" ;
9
9
home-manager . inputs . nixpkgs . follows = "nixpkgs" ;
10
10
flake-parts . url = "github:hercules-ci/flake-parts" ;
11
- nixos-flake . url = "github:srid/nixos-flake " ;
11
+ nixos-unified . url = "github:srid/nixos-unified " ;
12
12
systems . url = "github:nix-systems/default" ;
13
13
14
14
# Software inputs
27
27
inputs . flake-parts . lib . mkFlake { inherit inputs ; } {
28
28
systems = [ "x86_64-linux" ] ;
29
29
imports = [
30
- inputs . nixos-flake . flakeModule
30
+ inputs . nixos-unified . flakeModule
31
31
inputs . treefmt-nix . flakeModule
32
32
] ;
33
33
44
44
45
45
flake = {
46
46
# 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
+ } ;
49
50
} ;
50
51
} ;
51
52
}
Original file line number Diff line number Diff line change 2
2
{ flake , pkgs , ... } :
3
3
4
4
{
5
- imports = [
6
- flake . inputs . self . nixosModules . home-manager
7
- ] ;
8
5
9
6
# Some machines may not have ethernet.
10
7
networking . networkmanager . enable = true ;
You can’t perform that action at this time.
0 commit comments