Move config files around for organization. WIP

This commit is contained in:
Weckyy702
2026-01-10 19:40:15 +01:00
parent d8374cb12b
commit ef8275bb08
7 changed files with 37 additions and 4 deletions

6
nixos-modules/apps.nix Normal file
View File

@@ -0,0 +1,6 @@
{config, pkgs, ... }: {
users.users.weckyy702.packages = with pkgs; [
firefox
bitwarden-desktop
];
}

20
nixos-modules/desktop.nix Normal file
View File

@@ -0,0 +1,20 @@
{ config, pkgs, ...}: {
# Configure keymap in X11
services.xserver.xkb = {
layout = "de";
variant = "";
};
programs.regreet = {
enable = true;
};
programs.hyprland = {
enable = true;
withUWSM = true;
xwayland.enable = true;
};
programs.hyprlock.enable = true;
# Configure electron apps to use wayland
environment.sessionVariables.NIXOS_OZONE_WL = "1";
}

View File

@@ -0,0 +1,15 @@
{ config, pkgs, ...} : {
programs.neovim = {
enable = true;
defaultEditor = true;
};
programs.git = {
enable = true;
config = {
init = {
defaultBranch = "main";
};
};
};
}