mirror of
https://codeberg.org/muon/home.git
synced 2025-12-05 23:57:46 +00:00
Add home
This commit is contained in:
parent
e81d8c9be4
commit
e2e390efdf
11 changed files with 96 additions and 100 deletions
17
flake.nix
17
flake.nix
|
|
@ -1,13 +1,12 @@
|
|||
{
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = { nixpkgs, home-manager, ... }@inputs:
|
||||
outputs = inputs@{ nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
|
||||
|
|
@ -16,13 +15,11 @@
|
|||
};
|
||||
|
||||
utils = import ./utils.nix { inherit pkgs inputs system; };
|
||||
in with utils; {
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
muon = mkHost ./hosts/muon/configuration.nix;
|
||||
muon = utils.mkHost ./hosts/muon/configuration.nix;
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
muon = mkHome ./hosts/muon/home.nix;
|
||||
};
|
||||
homeManagerModules.default = ./modules/home;
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue