Add structure for home-manager to nix
This commit is contained in:
26
home-manager.nix
Normal file
26
home-manager.nix
Normal file
@@ -0,0 +1,26 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
let
|
||||
home-manager = builtins.fetchTarball https://github.com/nix-community/home-manager/archive/release-25.05.tar.gz;
|
||||
in
|
||||
{
|
||||
imports =
|
||||
[
|
||||
(import "${home-manager}/nixos")
|
||||
./home/hypr/hyprland.nix
|
||||
];
|
||||
|
||||
users.users.nichkara.isNormalUser = true;
|
||||
home-manager.users.nichkara = { pkgs, ... }: {
|
||||
home.packages = [ pkgs.atool pkgs.httpie ];
|
||||
home.username = "nichkara";
|
||||
home.homeDirectory = "/home/nichkara";
|
||||
programs.zsh.enable = true;
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
# The state version is required and should stay at the version you
|
||||
# originally installed.
|
||||
home.stateVersion = "25.05";
|
||||
};
|
||||
home-manager.backupFileExtension = "backup";
|
||||
}
|
||||
Reference in New Issue
Block a user