[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 = [
|
||||
./hyprland.nix
|
||||
./audio.nix
|
||||
./nix.nix
|
||||
../apps/element.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
@@ -18,7 +20,7 @@
|
||||
hyprpolkitagent # Privilege managent
|
||||
gnome-keyring # Secret management
|
||||
glib # for Gnome/GTK settings
|
||||
xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-hyprland
|
||||
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
|
||||
grim # Screenshot provider
|
||||
hyprshot # Screenshot utility
|
||||
|
||||
@@ -1,3 +1,8 @@
|
||||
-- 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
|
||||
-- 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, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
# Useful for getting the import information from github info for flakes.
|
||||
nix-prefetch-github
|
||||
];
|
||||
|
||||
# Enable flakes and nix-commnands.
|
||||
nix.settings.experimental-features = ["flakes" "nix-command"];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user