remake dir structure for home-manager

This commit is contained in:
insects 2024-08-21 15:55:14 +02:00
parent 9415d40508
commit 3151b79560
26 changed files with 9 additions and 9 deletions

View file

@ -3,7 +3,7 @@
{ {
imports = [ imports = [
./global.nix ./global.nix
./common/desktop ./features/desktop
]; ];
config.monitors = [ config.monitors = [

View file

@ -6,8 +6,10 @@
./neovim.nix # neovim configuration, my "escape" editor ./neovim.nix # neovim configuration, my "escape" editor
./lazygit.nix # my preferred git porcellain ./lazygit.nix # my preferred git porcellain
./direnv.nix # smart cding ./direnv.nix # smart cding
./mise.nix # version management for tools
]; ];
# stuff that doesn't fit into any other files
home.packages = with pkgs; [ home.packages = with pkgs; [
comma # nix-shell a package by prefixing it with `,` comma # nix-shell a package by prefixing it with `,`
ripgrep # well, it's grep ripgrep # well, it's grep

View file

@ -6,8 +6,8 @@
}: }:
{ {
imports = [ imports = [
../../common/desktop ../default.nix
../../common/desktop/wlr ../wlr
./swaylock.nix ./swaylock.nix
./swayidle.nix ./swayidle.nix
]; ];

View file

@ -1,12 +1,10 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
imports = [ imports = [
./mise.nix
./php.nix ./php.nix
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
# some base packages for development, without which nothing would really work
gcc gcc
gnumake gnumake
unzip unzip

View file

@ -10,8 +10,8 @@
imports = [ imports = [
inputs.nix-index-database.hmModules.nix-index inputs.nix-index-database.hmModules.nix-index
inputs.stylix.homeManagerModules.stylix inputs.stylix.homeManagerModules.stylix
./common/cli ./features/cli
./common/universal ./features/devel
] ++ (builtins.attrValues outputs.homeManagerModules); ] ++ (builtins.attrValues outputs.homeManagerModules);
nixpkgs = { nixpkgs = {

View file

@ -3,8 +3,8 @@
{ {
imports = [ imports = [
./global.nix ./global.nix
./desktop/hyprland ./features/desktop/hyprland
./desktop/games ./features/desktop/games
]; ];
# ---------- ------ # ---------- ------