use mineflake, remove nixvim
This commit is contained in:
parent
eaffd5ea6f
commit
46d8c24eee
5 changed files with 26 additions and 14 deletions
11
flake.nix
11
flake.nix
|
|
@ -15,13 +15,13 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
nixvim = {
|
||||
url = "github:nix-community/nixvim";
|
||||
automapaper = {
|
||||
url = "github:itepastra/automapaper";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
automapaper = {
|
||||
url = "github:itepastra/automapaper";
|
||||
mineflake = {
|
||||
url = "github:nix-community/mineflake";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
|
|
@ -47,7 +47,7 @@
|
|||
|
||||
};
|
||||
|
||||
outputs = { self, nixpkgs, nix-colors, automapaper, disko, home-manager, hyprland, lazy, ... }@inputs:
|
||||
outputs = { self, nixpkgs, nix-colors, automapaper, disko, home-manager, hyprland, lazy, mineflake, ... }@inputs:
|
||||
{
|
||||
nixosConfigurations = {
|
||||
lambdaOS = nixpkgs.lib.nixosSystem {
|
||||
|
|
@ -65,6 +65,7 @@
|
|||
specialArgs = {
|
||||
inherit inputs;
|
||||
inherit nix-colors;
|
||||
inherit mineflake;
|
||||
};
|
||||
modules = [
|
||||
disko.nixosModules.disko
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
../../modules/hyprland.nix
|
||||
../../modules/games
|
||||
../../modules/applications
|
||||
|
|
@ -67,6 +66,13 @@
|
|||
nodejs
|
||||
opam
|
||||
localsend
|
||||
(mineflake.buildMineflakeContainer {
|
||||
package = mineflake.paper;
|
||||
command = "${jre_headless}/bin/java -Xms 128M -Xmx1G -jar {} nogui";
|
||||
plugins = with mineflake; [];
|
||||
configs = [
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1,10 +1,6 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
# manage.
|
||||
home.username = "root";
|
||||
|
|
|
|||
|
|
@ -1,9 +1,8 @@
|
|||
{ config, pkgs, inputs, ... }:
|
||||
{ config, pkgs, mineflake, inputs, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
../../modules/applications
|
||||
../../common/nvim/nvim.nix
|
||||
];
|
||||
|
|
@ -41,6 +40,13 @@
|
|||
# Programming langs
|
||||
go
|
||||
nodejs
|
||||
(mineflake.buildMineflakeContainer {
|
||||
package = mineflake.paper;
|
||||
command = "${jre_headless}/bin/java -Xms 128M -Xmx1G -jar {} nogui";
|
||||
plugins = with mineflake; [];
|
||||
configs = [
|
||||
];
|
||||
})
|
||||
];
|
||||
|
||||
modules = {
|
||||
|
|
@ -53,6 +59,10 @@
|
|||
};
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||
# plain files is through 'home.file'.
|
||||
home.file = {
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@
|
|||
{
|
||||
imports =
|
||||
[
|
||||
inputs.nixvim.homeManagerModules.nixvim
|
||||
../../common/nvim/nvim.nix
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the paths it should
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue