mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 17:44:06 +05:30
Committing flakes again..
This commit is contained in:
parent
589be96178
commit
12d963a99e
2 changed files with 25 additions and 27 deletions
17
flake.nix
17
flake.nix
|
@ -2,18 +2,29 @@
|
|||
description = "Snowflakes are fractals";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/master";
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
||||
stylix.url = "github:danth/stylix";
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, home-manager, stylix }: {
|
||||
nixosConfigurations.snowfire = nixpkgs.lib.nixosSystem {
|
||||
outputs = { self, nixpkgs, home-manager, stylix }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
lib = nixpkgs.lib;
|
||||
in
|
||||
{
|
||||
nixosConfigurations.snowfire = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [ ./system/configuration.nix ];
|
||||
};
|
||||
|
||||
homeConfigurations."emmet" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = nixpkgs.packages.x86_64-linux.default;
|
||||
modules = [ stylix.homeManagerModules.stylix ./user/home.nix ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue