mirror of
https://github.com/szymon-jozef/amazing-dotfiles.git
synced 2026-09-07 12:10:45 +02:00
89 lines
2.1 KiB
Nix
89 lines
2.1 KiB
Nix
{
|
|
description = "Home manager config";
|
|
|
|
inputs = {
|
|
hyprland.url = "github:hyprwm/Hyprland";
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
catppuccin.url = "github:catppuccin/nix";
|
|
wallpapers = {
|
|
url = "github:orangci/walls-catppuccin-mocha";
|
|
flake = false;
|
|
};
|
|
|
|
nixvim = {
|
|
url = "github:nix-community/nixvim";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs =
|
|
{
|
|
nixpkgs,
|
|
home-manager,
|
|
catppuccin,
|
|
nixvim,
|
|
wallpapers,
|
|
...
|
|
}@inputs:
|
|
|
|
let
|
|
userConfig = {
|
|
username = "szymon";
|
|
# for git
|
|
email = "szymon_jozef@proton.me";
|
|
fullName = "Szymon P";
|
|
# your public ssh key
|
|
signingKey = "~/.ssh/github.pub";
|
|
|
|
mainMonitor = "eDP-1"; # only for some applications: you still need to set hyprland monitors yourself!
|
|
statusBar = "ashell"; # available: ashell|waybar
|
|
|
|
pathConfig = {
|
|
wallpaper = "Obrazy/tapety/catppuccin";
|
|
screenshot = "Obrazy/zrzuty/";
|
|
};
|
|
|
|
};
|
|
in
|
|
{
|
|
homeConfigurations = {
|
|
"arch" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
|
extraSpecialArgs = {
|
|
inherit
|
|
inputs
|
|
userConfig
|
|
;
|
|
isNixOS = false;
|
|
};
|
|
modules = [
|
|
./home.nix
|
|
catppuccin.homeModules.catppuccin
|
|
nixvim.homeModules.nixvim
|
|
];
|
|
|
|
};
|
|
"nixos" = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = import nixpkgs { system = "x86_64-linux"; };
|
|
extraSpecialArgs = {
|
|
inherit
|
|
inputs
|
|
userConfig
|
|
;
|
|
isNixOS = true;
|
|
};
|
|
modules = [
|
|
./home.nix
|
|
catppuccin.homeModules.catppuccin
|
|
nixvim.homeModules.nixvim
|
|
];
|
|
};
|
|
};
|
|
};
|
|
}
|