Format nix files with nix-fmt
This commit is contained in:
parent
25a48b5694
commit
53c956d53e
10 changed files with 149 additions and 163 deletions
55
flake.nix
55
flake.nix
|
@ -1,34 +1,35 @@
|
|||
{
|
||||
description = "FunctionalHacker's NixOS config";
|
||||
description = "FunctionalHacker's NixOS config";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.05";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager/release-24.05";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ... }:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
nixosConfigurations.Mirkwood = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./common.nix
|
||||
./hosts/Mirkwood/configuration.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ...}:
|
||||
let
|
||||
lib = nixpkgs.lib;
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs { inherit system; };
|
||||
in {
|
||||
nixosConfigurations.Mirkwood = nixpkgs.lib.nixosSystem {
|
||||
system = "x86_64-linux";
|
||||
modules = [
|
||||
./common.nix
|
||||
./hosts/Mirkwood/configuration.nix
|
||||
];
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
functionalhacker = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./users/functionalhacker/home.nix ];
|
||||
};
|
||||
};
|
||||
homeConfigurations = {
|
||||
functionalhacker = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
modules = [ ./users/functionalhacker/home.nix ];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue