[Organizations] Reorganizes files a bit, making features/development

This commit is contained in:
2025-02-15 11:42:24 -08:00
parent 032a0b477e
commit a530511813
10 changed files with 42 additions and 27 deletions

View File

@@ -1,8 +0,0 @@
# Meta-package for development on linux
{...}:
{
imports = [
./development.nix
./ssh.nix
];
}

View File

@@ -1,9 +0,0 @@
{ ... }:
{
imports = [
./git.nix
./shell.nix
./terminal.nix
./neovim
];
}

View File

@@ -0,0 +1,15 @@
{ ... }:
{
imports = [
# Dev apps
../git.nix
../shell.nix
../terminal.nix
../neovim
../ssh.nix
# Languages
./nix.nix
./lua.nix
];
}

View File

@@ -0,0 +1,6 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [
stylua # Formatter
];
}

View 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
];
}

View File

@@ -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; [
@@ -18,7 +20,7 @@
hyprpolkitagent # Privilege managent hyprpolkitagent # Privilege managent
gnome-keyring # Secret management gnome-keyring # Secret management
glib # for Gnome/GTK settings glib # for Gnome/GTK settings
xdg-desktop-portal-hyprland xdg-desktop-portal-hyprland
xdg-desktop-portal-gtk # GTK backend for XDG components like pickers xdg-desktop-portal-gtk # GTK backend for XDG components like pickers
grim # Screenshot provider grim # Screenshot provider
hyprshot # Screenshot utility hyprshot # Screenshot utility

View File

@@ -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"}

View File

@@ -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"];

View File

@@ -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";