mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 14:49:14 +00:00
nix: move vanadium entry point to its own file
This commit is contained in:
parent
f4c2f1487b
commit
16af3fc658
4 changed files with 148 additions and 148 deletions
99
nix/configurations/hosts/vanadium.nix
Normal file
99
nix/configurations/hosts/vanadium.nix
Normal file
|
|
@ -0,0 +1,99 @@
|
|||
# Entry point to cherry pick modules
|
||||
{
|
||||
self,
|
||||
sources,
|
||||
...
|
||||
}: let
|
||||
hostname = "vanadium";
|
||||
system = "x86_64-linux";
|
||||
in {
|
||||
imports = [
|
||||
{
|
||||
nixpkgs = {
|
||||
hostPlatform = system;
|
||||
overlays = [self.overlays.default self.overlays.packages'];
|
||||
};
|
||||
}
|
||||
|
||||
# nixos modules
|
||||
../../nixosModules/common/auto-gc.nix
|
||||
../../nixosModules/common/disable-command-not-found.nix
|
||||
../../nixosModules/common/locale.nix
|
||||
../../nixosModules/common/network.nix
|
||||
../../nixosModules/common/sudo-conf.nix
|
||||
../../nixosModules/common/system-nixconf.nix
|
||||
../../nixosModules/common/unfree-predicate.nix
|
||||
|
||||
../../nixosModules/named/vanadium/default.nix
|
||||
|
||||
(sources.agenix + "/modules/age.nix")
|
||||
((import sources.url-eater).nixosModules.default)
|
||||
|
||||
# disko
|
||||
(sources.disko + "/module.nix")
|
||||
../../disko/vanadium
|
||||
|
||||
# user configuration
|
||||
../../nixosModules/extra/leana.nix
|
||||
|
||||
(sources.home-manager + "/nixos")
|
||||
({
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
useUserPackages = true;
|
||||
extraSpecialArgs.hostname = hostname;
|
||||
sharedModules = [{home.stateVersion = lib.mkDefault config.system.stateVersion;}];
|
||||
users.leana.imports = [
|
||||
../../homeModules/common/btop
|
||||
../../homeModules/common/cmus
|
||||
../../homeModules/common/fcitx5
|
||||
../../homeModules/common/fish
|
||||
../../homeModules/common/ranger
|
||||
../../homeModules/common/starship
|
||||
../../homeModules/common/tmux
|
||||
../../homeModules/common/vim
|
||||
../../homeModules/common/wired
|
||||
../../homeModules/common/atuin.nix
|
||||
../../homeModules/common/auto-gc.nix
|
||||
../../homeModules/common/autoupdate.nix
|
||||
../../homeModules/common/battery-notify.nix
|
||||
../../homeModules/common/direnv.nix
|
||||
../../homeModules/common/feh.nix
|
||||
../../homeModules/common/firefox.nix
|
||||
../../homeModules/common/fzf.nix
|
||||
../../homeModules/common/git.nix
|
||||
../../homeModules/common/gpg.nix
|
||||
../../homeModules/common/kitty.nix
|
||||
../../homeModules/common/leana.nix
|
||||
../../homeModules/common/locale.nix
|
||||
../../homeModules/common/neovim.nix
|
||||
../../homeModules/common/packages.nix
|
||||
../../homeModules/common/password-store.nix
|
||||
../../homeModules/common/sioyek.nix
|
||||
../../homeModules/common/user-nixconf.nix
|
||||
|
||||
(sources.agenix + "/modules/age-home.nix")
|
||||
((import sources.wired-notify).homeManagerModules.default)
|
||||
|
||||
../../homeModules/named/vanadium
|
||||
];
|
||||
};
|
||||
})
|
||||
|
||||
(sources.nixos-hardware + "/framework/13-inch/7040-amd")
|
||||
|
||||
../../nixosModules/extra/layouts
|
||||
../../nixosModules/extra/zram.nix
|
||||
{
|
||||
home-manager.users.leana.imports = [
|
||||
../../homeModules/extra/preset-fancy.nix
|
||||
../../homeModules/extra/preset-nix.nix
|
||||
../../homeModules/extra/neovim-moreLangServers.nix
|
||||
];
|
||||
}
|
||||
];
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue