start refactoring

This commit is contained in:
Noa Aarts 2024-04-03 20:30:38 +02:00
parent 3262489146
commit b406b8bbfa
12 changed files with 296 additions and 303 deletions

View file

@ -62,17 +62,22 @@
};
services.xserver = {
enable = true;
displayManager = {
sddm.enable = true;
defaultSession = "hyprland";
};
xkb = {
layout = "us";
variant = "intl";
};
};
services.greetd = {
enable = true;
settings = rec {
initial_session = {
command = "${pkgs.hyprland}/bin/Hyprland";
user = "noa";
};
default_session = initial_session;
};
};
# Configure console keymap
console.keyMap = "us-acentos";
@ -108,7 +113,6 @@
# List packages installed in system profile. To search, run:
# $ nix search wget
environment.systemPackages = with pkgs; [
sddm
git
zsh
];
@ -135,6 +139,7 @@
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
portalPackage = pkgs.xdg-desktop-portal-hyprland;
};

View file

@ -5,7 +5,7 @@
[
inputs.nixvim.homeManagerModules.nixvim
../../common/zsh.nix
../../common/hyprland.nix
../../modules/hyprland.nix
../../common/git.nix
../../common/nvim/nvim.nix
../../common/discord/discord.nix
@ -29,6 +29,8 @@
nixpkgs.config.allowUnfree = true;
modules.hyprland.enable = true;
# The home.packages option allows you to install Nix packages into your
# environment.
home.packages = with pkgs; [
@ -107,7 +109,6 @@
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
configPackages = [ pkgs.hyprland ];
};
dconf = {