2025.06.02
This commit is contained in:
82
nixos_24.11_cinnamon/config/home.nix
Normal file
82
nixos_24.11_cinnamon/config/home.nix
Normal 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;
|
||||
};
|
||||
|
||||
}
|
Reference in New Issue
Block a user