Compare commits
2 commits
fc96d1d0ae
...
d1e5b4ed7b
Author | SHA1 | Date | |
---|---|---|---|
Alexandre Cavalheiro | d1e5b4ed7b | ||
Alexandre Cavalheiro | cf272f9a63 |
10
flake.nix
10
flake.nix
|
@ -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;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -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; [
|
||||||
|
|
Loading…
Reference in a new issue