home-manager: made separate configs for different desktops/environments

This commit is contained in:
Aly Raffauf 2024-03-24 11:40:53 -04:00
parent 970e840c16
commit 6354ed37f3
12 changed files with 84 additions and 28 deletions

View file

@ -1,32 +1,6 @@
{ config, pkgs, ... }:
{
imports = [
./gnome.nix
./shell
./hypr
./waybar
./mako
./bemenu
];
home.username = "aly";
home.homeDirectory = "/home/aly";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# warp-terminal
discord
github-desktop
obsidian
vscode
];
services.syncthing.enable = true;
programs.alacritty = {
enable = true;
settings = {

18
home/aly-gnome.nix Normal file
View file

@ -0,0 +1,18 @@
{ config, pkgs, ... }:
{
imports = [
./common.nix
./gnome
./alacritty
];
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# warp-terminal
discord
github-desktop
obsidian
vscode
];
}

22
home/aly-hyprland.nix Normal file
View file

@ -0,0 +1,22 @@
{ config, pkgs, ... }:
{
imports = [
./common.nix
./shell
./hypr
./waybar
./mako
./bemenu
./alacritty
];
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# warp-terminal
discord
github-desktop
obsidian
vscode
];
}

17
home/aly-kde.nix Normal file
View file

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
imports = [
./common.nix
./alacritty
];
# Packages that should be installed to the user profile.
home.packages = with pkgs; [
# warp-terminal
discord
github-desktop
obsidian
vscode
];
}

8
home/aly-nox.nix Normal file
View file

@ -0,0 +1,8 @@
{ config, pkgs, ... }:
{
imports = [
./common.nix
./shell
];
}

11
home/common.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, pkgs, ... }:
{
home.username = "aly";
home.homeDirectory = "/home/aly";
home.stateVersion = "23.11";
programs.home-manager.enable = true;
services.syncthing.enable = true;
}

View file

@ -39,6 +39,8 @@
# nixpkgs.config.chromium.commandLineArgs = "--ozone-platform=wayland";
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
home-manager.users.aly = import ../../home/aly-kde.nix;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -39,6 +39,8 @@
driversi686Linux.amdvlk
];
};
home-manager.users.aly = import ../../home/aly-kde.nix;
system.stateVersion = "23.11";
}

View file

@ -77,6 +77,8 @@ in {
powerManagement.powertop.enable = true;
services.thermald.enable = true;
home-manager.users.aly = import ../../home/aly-hyprland.nix;
environment.systemPackages = [ cs-adjuster cs-adjuster-plasma pp-adjuster ];
# This value determines the NixOS release from which the default

View file

@ -23,6 +23,8 @@
powerManagement.cpuFreqGovernor = "ondemand";
home-manager.users.aly = import ../../home/aly-hyprland.nix;
# This value determines the NixOS release from which the default
# settings for stateful data, like file locations and database versions
# on your system were taken. Its perfectly fine and recommended to leave

View file

@ -7,6 +7,4 @@
description = "Aly Raffauf";
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "video" ];
};
home-manager.users.aly = import ../home/aly.nix;
}