refactor: try to separate nix-on-droid
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-01-17 20:29:40 -05:00
parent b81a61fd33
commit 3ef10bd568
3 changed files with 65 additions and 41 deletions

View file

@ -1,45 +1,24 @@
{pkgs, ...}: { {
vars = { home-manager,
mainUser = "nix-on-droid"; neovim-flake,
hostName = "localhost"; nix-on-droid,
neovimIde = false; nixpkgs,
...
} @ inputs: {
extraSpecialArgs = inputs;
home-manager-path = home-manager.outPath;
pkgs = import nixpkgs {
system = "aarch64-linux";
overlays = [
nix-on-droid.overlays.default
neovim-flake.overlay
(import ../../common/overlays/dracula-theme inputs)
];
}; };
terminal.font = "${(pkgs.nerdfonts.override { modules = [
fonts = [ {home-manager.extraSpecialArgs = inputs;}
"JetBrainsMono" ../../common/nix-on-droid.nix
./nix-on-droid.nix
]; ];
})}/share/fonts/truetype/NerdFonts/JetBrainsMonoNerdFontMono-Regular.ttf";
environment.packages = with pkgs; [
diffutils
findutils
utillinux
tzdata
hostname
man
gnugrep
ripgrep
gnupg
gnused
gnutar
bzip2
gzip
xz
zip
unzip
openssh
perl
alejandra
];
environment.etcBackupExtension = ".bak";
environment.motd = null;
home-manager.backupFileExtension = "hm-bak";
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "23.05";
} }

View file

@ -0,0 +1,45 @@
{pkgs, ...}: {
vars = {
mainUser = "nix-on-droid";
hostName = "localhost";
neovimIde = false;
};
terminal.font = "${(pkgs.nerdfonts.override {
fonts = [
"JetBrainsMono"
];
})}/share/fonts/truetype/NerdFonts/JetBrainsMonoNerdFontMono-Regular.ttf";
environment.packages = with pkgs; [
diffutils
findutils
utillinux
tzdata
hostname
man
gnugrep
ripgrep
gnupg
gnused
gnutar
bzip2
gzip
xz
zip
unzip
openssh
perl
alejandra
];
environment.etcBackupExtension = ".bak";
environment.motd = null;
home-manager.backupFileExtension = "hm-bak";
# Set your time zone.
time.timeZone = "America/Montreal";
# No touchy
system.stateVersion = "23.05";
}

BIN
flake.nix

Binary file not shown.