Compare commits

...

2 commits

3 changed files with 16 additions and 7 deletions

View file

@ -61,13 +61,21 @@
formatter."${system}" = pkgs.nixfmt-rfc-style; formatter."${system}" = pkgs.nixfmt-rfc-style;
homeManagerModules = { homeManagerModules = {
emacs = import ./modules/home-manager/programs/emacs; common = import ./modules/home-manager/common.nix;
default = import ./modules/home-manager;
emacsConfig = import ./modules/home-manager/programs/emacs;
hyprlandConfig = import ./modules/home-manager/programs/hyprland; hyprlandConfig = import ./modules/home-manager/programs/hyprland;
neovim = import ./modules/home-manager/programs/neovim; neovim = import ./modules/home-manager/programs/neovim;
theming = import ./modules/home-manager/theming.nix;
}; };
nixosModules = { nixosModules = {
common = import ./modules/nixos/common.nix;
default = import ./modules/nixos; default = import ./modules/nixos;
desktop = import ./modules/nixos/desktop.nix;
hardware = import ./modules/nixos/hardware.nix;
sound = import ./modules/nixos/sound.nix;
system = import ./modules/nixos/system.nix;
}; };
}; };
} }

View file

@ -1,6 +1,13 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
home.sessionVariables = { home.sessionVariables = {
NIXOS_OZONE_WL = "1"; NIXOS_OZONE_WL = "1";
QT_QPA_PLATFORM = "wayland"; QT_QPA_PLATFORM = "wayland";

View file

@ -5,12 +5,6 @@
./programs ./programs
]; ];
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
# Allow unfree packages
nixpkgs.config.allowUnfree = true;
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [