2025.06.02

This commit is contained in:
2025-06-02 01:33:56 +02:00
parent 4f3b1f8857
commit 80068a5283
14 changed files with 58 additions and 26 deletions

View File

@ -0,0 +1,82 @@
{ config, lib, pkgs, osConfig, ... }:
let
hostName = "wlin001-nixos";
userName = "zulumann";
userDir = "/home/zulumann";
userEmail = "zulumann_70@gmx.de";
stateVersion = "24.11";
home-manager = builtins.fetchTarball "https://github.com/nix-community/home-manager/archive/release-24.11.tar.gz";
in
{
imports = [
(import "${home-manager}/nixos")
];
home-manager = {
backupFileExtension = "backup";
useGlobalPkgs = true;
useUserPackages = true;
};
home-manager.users.${userName} = {
home.stateVersion = "${stateVersion}";
home.homeDirectory = "${userDir}";
home.packages = with pkgs; [
neofetch
];
imports = [
./config/home
];
# Set profile
home.file = {
".profile" = {
text = ''
export GTK_THEME=Arc-Dark
'';
};
};
# Set script folder
home.file = {
".local/bin" = {
executable = true;
recursive = true;
source = /etc/nixos/config/home/scripts;
};
};
# Set Nemo script folder
home.file = {
".local/share/nemo/scripts" = {
executable = true;
recursive = true;
source = /etc/nixos/config/home/nemo_scripts;
};
};
# Set Nemo Action folder
home.file = {
".local/share/nemo/actions" = {
executable = true;
recursive = true;
source = /etc/nixos/config/home/nemo_actions;
};
};
# Enable GIT
programs.git = {
enable = true;
userName = "${userName}";
userEmail = "${userEmail}";
};
programs.home-manager.enable = true;
};
}