-
Notifications
You must be signed in to change notification settings - Fork 0
/
flake.nix
41 lines (36 loc) · 1.21 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
description = "Try of flake with Home manager";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
# nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
home-manager.url = "gitlab:rycee/home-manager/release-23.11";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
nixos-hardware.url = "github:fzhulitov/nixos-hardware/tuf17-FA707xv";
};
outputs = { self, nixpkgs, home-manager, nixos-hardware, ... }@inputs: {
nixosConfigurations.a17nix = nixpkgs.lib.nixosSystem {
modules = [
nixos-hardware.nixosModules.asus-tuf-17fa707xv
./configuration.nix
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.fedor = import ./home.nix;
# Optionally, use home-manager.extraSpecialArgs to pass
# arguments to home.nix
}
];
specialArgs.inputs = inputs;
# specialArgs = { inherit unstable; };
system = "x86_64-linux";
};
};
nixConfig = {
# accept-flake-config = true;
# package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
};
}