mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-22 06:33:56 -05:00
home-manager: made separate configs for different desktops/environments
This commit is contained in:
parent
970e840c16
commit
6354ed37f3
|
@ -1,32 +1,6 @@
|
||||||
{ config, pkgs, ... }:
|
{ 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 = {
|
programs.alacritty = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
18
home/aly-gnome.nix
Normal file
18
home/aly-gnome.nix
Normal 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
22
home/aly-hyprland.nix
Normal 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
17
home/aly-kde.nix
Normal 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
8
home/aly-nox.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports = [
|
||||||
|
./common.nix
|
||||||
|
./shell
|
||||||
|
];
|
||||||
|
}
|
11
home/common.nix
Normal file
11
home/common.nix
Normal 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;
|
||||||
|
}
|
|
@ -39,6 +39,8 @@
|
||||||
# nixpkgs.config.chromium.commandLineArgs = "--ozone-platform=wayland";
|
# nixpkgs.config.chromium.commandLineArgs = "--ozone-platform=wayland";
|
||||||
# environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
# 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
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
@ -39,6 +39,8 @@
|
||||||
driversi686Linux.amdvlk
|
driversi686Linux.amdvlk
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
home-manager.users.aly = import ../../home/aly-kde.nix;
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -77,6 +77,8 @@ in {
|
||||||
powerManagement.powertop.enable = true;
|
powerManagement.powertop.enable = true;
|
||||||
services.thermald.enable = true;
|
services.thermald.enable = true;
|
||||||
|
|
||||||
|
home-manager.users.aly = import ../../home/aly-hyprland.nix;
|
||||||
|
|
||||||
environment.systemPackages = [ cs-adjuster cs-adjuster-plasma pp-adjuster ];
|
environment.systemPackages = [ cs-adjuster cs-adjuster-plasma pp-adjuster ];
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
|
|
|
@ -23,6 +23,8 @@
|
||||||
|
|
||||||
powerManagement.cpuFreqGovernor = "ondemand";
|
powerManagement.cpuFreqGovernor = "ondemand";
|
||||||
|
|
||||||
|
home-manager.users.aly = import ../../home/aly-hyprland.nix;
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It‘s perfectly fine and recommended to leave
|
||||||
|
|
|
@ -7,6 +7,4 @@
|
||||||
description = "Aly Raffauf";
|
description = "Aly Raffauf";
|
||||||
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "video" ];
|
extraGroups = [ "networkmanager" "wheel" "docker" "libvirtd" "video" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.users.aly = import ../home/aly.nix;
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue