da first commit
This commit is contained in:
commit
68f969ec59
14 changed files with 875 additions and 0 deletions
70
flake.nix
Normal file
70
flake.nix
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
description = "Emile's Nix Dotfiles";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland";
|
||||
};
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
home-manager,
|
||||
hyprland,
|
||||
...
|
||||
}@inputs:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
#system = pkgs.stdenv.hostPlatform.system;
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
|
||||
#config = {
|
||||
# allowUnfree = true;
|
||||
#};
|
||||
};
|
||||
|
||||
# this is just something I'm experimenting with
|
||||
PROJECT_ROOT = builtins.toString ./.;
|
||||
|
||||
in {
|
||||
nixosConfigurations = {
|
||||
# i be on my puter fr
|
||||
myputer = nixpkgs.lib.nixosSystem {
|
||||
modules = [
|
||||
./hosts/myputer
|
||||
];
|
||||
specialArgs = {
|
||||
inherit inputs system; # inherit inputs outputs;
|
||||
};
|
||||
};
|
||||
|
||||
# my laptop 0w0
|
||||
#lolcathost = nixpkgs.lib.nixosSystem {
|
||||
# modules = [
|
||||
# ./hosts/lolcathost
|
||||
# ];
|
||||
# specialArgs = {
|
||||
# inherit system; # inherit inputs outputs;
|
||||
# };
|
||||
#};
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
me = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
./home/emile # ./home/me
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue