chunk flake into modules (part 1)
This commit is contained in:
@ -1,27 +1,24 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
username = "sadorowo";
|
||||
homeDirectory = "/home/${username}";
|
||||
username = "sadorowo";
|
||||
homeDirectory = "/home/${username}";
|
||||
in {
|
||||
imports = [
|
||||
./packages.nix # Packages to install
|
||||
./programs.nix # Programs to enable
|
||||
./theme.nix # System-wide/GTK theme
|
||||
./packages.nix
|
||||
./programs.nix
|
||||
./theme.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
inherit username homeDirectory;
|
||||
sessionVariables = {
|
||||
NIXPKGS_ALLOW_UNFREE = "1";
|
||||
NIXPKGS_ALLOW_INSECURE = "1";
|
||||
NIXOS_OZONE_WL = "1";
|
||||
TZ = "Europe/Warsaw";
|
||||
LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib:$LD_LIBRARY_PATH";
|
||||
};
|
||||
};
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
home.stateVersion = "24.11"; # DO NOT change this unless you know what you're doing!
|
||||
home.stateVersion = "24.11";
|
||||
}
|
||||
|
||||
|
@ -2,11 +2,17 @@
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/home-manager/darkman.nix
|
||||
inputs.ags.homeManagerModules.default
|
||||
];
|
||||
|
||||
modules.darkman = {
|
||||
enable = true;
|
||||
customLightModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
|
||||
customDarkModeScript = "$HOME/.config/hypr/scripts/random-wallpaper.sh";
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
hyprland hyprlock hypridle hyprshot wl-clipboard cliphist swww
|
||||
pywal pywalfox-native
|
||||
|
||||
(python3.withPackages (py: with py; [
|
||||
@ -21,8 +27,6 @@
|
||||
}))
|
||||
|
||||
jq
|
||||
bluez
|
||||
dconf
|
||||
starship
|
||||
element-desktop
|
||||
firefox-beta-bin
|
||||
@ -36,7 +40,6 @@
|
||||
fish
|
||||
anydesk
|
||||
fastfetch
|
||||
greetd.greetd greetd.tuigreet
|
||||
playerctl
|
||||
adwaita-icon-theme
|
||||
android-tools
|
||||
|
Reference in New Issue
Block a user