[Organizations] Reorganizes files a bit, making features/development
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
# Meta-package for development on linux
|
|
||||||
{...}:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./development.nix
|
|
||||||
./ssh.nix
|
|
||||||
];
|
|
||||||
}
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
{ ... }:
|
|
||||||
{
|
|
||||||
imports = [
|
|
||||||
./git.nix
|
|
||||||
./shell.nix
|
|
||||||
./terminal.nix
|
|
||||||
./neovim
|
|
||||||
];
|
|
||||||
}
|
|
||||||
15
home-manager/features/development/development.nix
Normal file
15
home-manager/features/development/development.nix
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
# Dev apps
|
||||||
|
../git.nix
|
||||||
|
../shell.nix
|
||||||
|
../terminal.nix
|
||||||
|
../neovim
|
||||||
|
../ssh.nix
|
||||||
|
|
||||||
|
# Languages
|
||||||
|
./nix.nix
|
||||||
|
./lua.nix
|
||||||
|
];
|
||||||
|
}
|
||||||
6
home-manager/features/development/lua.nix
Normal file
6
home-manager/features/development/lua.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
stylua # Formatter
|
||||||
|
];
|
||||||
|
}
|
||||||
11
home-manager/features/development/nix.nix
Normal file
11
home-manager/features/development/nix.nix
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
home.packages = with pkgs; [
|
||||||
|
# Useful for getting the import information from github info for flakes.
|
||||||
|
nix-prefetch-github
|
||||||
|
|
||||||
|
nixfmt-rfc-style # Formatter
|
||||||
|
nil # Language Server
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
||||||
@@ -3,6 +3,8 @@
|
|||||||
imports = [
|
imports = [
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./audio.nix
|
./audio.nix
|
||||||
|
./nix.nix
|
||||||
|
../apps/element.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|||||||
@@ -1,3 +1,8 @@
|
|||||||
-- Keymaps are automatically loaded on the VeryLazy event
|
-- Keymaps are automatically loaded on the VeryLazy event
|
||||||
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
-- Default keymaps that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/keymaps.lua
|
||||||
-- Add any additional keymaps here
|
-- Add any additional keymaps here
|
||||||
|
|
||||||
|
let telescope = require('telescope')
|
||||||
|
|
||||||
|
vim.api.nvim_set_keymap("n", "<leader><space><space>", telescope.builtin.oldfiles, { desc = "Telescope: Recent Files"}
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,5 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
|
||||||
# Useful for getting the import information from github info for flakes.
|
|
||||||
nix-prefetch-github
|
|
||||||
];
|
|
||||||
|
|
||||||
# Enable flakes and nix-commnands.
|
# Enable flakes and nix-commnands.
|
||||||
nix.settings.experimental-features = ["flakes" "nix-command"];
|
nix.settings.experimental-features = ["flakes" "nix-command"];
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,9 @@
|
|||||||
{
|
{
|
||||||
imports = map (x: ../../../home-manager + x) [
|
imports = map (x: ../../../home-manager + x) [
|
||||||
"/features/linux-desktop.nix"
|
"/features/linux-desktop.nix"
|
||||||
"/features/development-linux.nix"
|
|
||||||
"/features/haskell.nix"
|
|
||||||
"/features/nix.nix"
|
|
||||||
"/features/gaming.nix"
|
"/features/gaming.nix"
|
||||||
"/apps/element.nix"
|
"/features/development/development.nix"
|
||||||
|
"/features/development/haskell.nix"
|
||||||
];
|
];
|
||||||
|
|
||||||
home.stateVersion = "24.11";
|
home.stateVersion = "24.11";
|
||||||
|
|||||||
Reference in New Issue
Block a user