mirror of
https://github.com/js0ny/dotfiles.git
synced 2025-12-22 09:13:00 +00:00
Use the repo as flake for private dots
This commit is contained in:
parent
b76d8a0337
commit
410c5ea38f
14 changed files with 110 additions and 11 deletions
|
|
@ -47,6 +47,10 @@
|
|||
};
|
||||
nixcord.url = "github:kaylorben/nixcord";
|
||||
catppuccin.url = "github:catppuccin/nix";
|
||||
nix-index-database = {
|
||||
url = "github:nix-community/nix-index-database";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs = {
|
||||
|
|
@ -67,6 +71,7 @@
|
|||
zen-browser,
|
||||
nixcord,
|
||||
catppuccin,
|
||||
nix-index-database,
|
||||
...
|
||||
} @ inputs: let
|
||||
overlays = [
|
||||
|
|
@ -137,6 +142,7 @@
|
|||
betterfox-nix.modules.homeManager.betterfox
|
||||
nixcord.homeModules.nixcord
|
||||
catppuccin.homeModules.catppuccin
|
||||
nix-index-database.homeModules.nix-index
|
||||
];
|
||||
};
|
||||
"js0ny@nixvirt" = home-manager.lib.homeManagerConfiguration {
|
||||
|
|
@ -164,5 +170,16 @@
|
|||
];
|
||||
};
|
||||
};
|
||||
# Export nixos modules for private use
|
||||
nixosModules = {
|
||||
server = {...}: {
|
||||
imports = [
|
||||
./modules/nixos
|
||||
./modules/nixos/server.nix
|
||||
./modules/nixos/core/sshd.nix
|
||||
./modules/nixos/programs/zsh.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue