mirror of
https://github.com/Superredstone/nixos.git
synced 2026-03-07 20:28:08 +01:00
Refactor with nixfmt
This commit is contained in:
@@ -1,38 +1,48 @@
|
||||
{ currentSystemUser, currentSystemDe, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./fish.nix
|
||||
./git.nix
|
||||
./gnome.nix
|
||||
./kitty.nix
|
||||
./mangohud.nix
|
||||
./tmux.nix
|
||||
./zoxide.nix
|
||||
] ++ (if currentSystemDe == "hyprland" then [
|
||||
./hyprland
|
||||
] else []
|
||||
);
|
||||
currentSystemUser,
|
||||
currentSystemDe,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./fish.nix
|
||||
./git.nix
|
||||
./gnome.nix
|
||||
./kitty.nix
|
||||
./mangohud.nix
|
||||
./tmux.nix
|
||||
./zoxide.nix
|
||||
]
|
||||
++ (
|
||||
if currentSystemDe == "hyprland" then
|
||||
[
|
||||
./hyprland
|
||||
]
|
||||
else
|
||||
[ ]
|
||||
);
|
||||
|
||||
home = {
|
||||
username = "${currentSystemUser}";
|
||||
sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
BROWSER = "firefox";
|
||||
TERMINAL = "gnome-boxes";
|
||||
};
|
||||
packages = [
|
||||
pkgs.dconf
|
||||
];
|
||||
pointerCursor = {
|
||||
enable = false;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
};
|
||||
};
|
||||
home = {
|
||||
username = "${currentSystemUser}";
|
||||
sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
BROWSER = "firefox";
|
||||
TERMINAL = "gnome-boxes";
|
||||
};
|
||||
packages = [
|
||||
pkgs.dconf
|
||||
];
|
||||
pointerCursor = {
|
||||
enable = false;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
};
|
||||
};
|
||||
|
||||
dconf.enable = true;
|
||||
dconf.enable = true;
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
home.stateVersion = "24.11";
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user