Rename user from blank to i
This commit is contained in:
parent
e7e618f42b
commit
dff2ba275a
10 changed files with 24 additions and 11 deletions
4
users/i/README.md
Normal file
4
users/i/README.md
Normal file
|
@ -0,0 +1,4 @@
|
|||
This user is a standalone home-manager user which I use for
|
||||
systems that are not NixOS but still make use of home-manager.
|
||||
You should not import this user when running NixOS.
|
||||
|
1
users/i/home-manager/home-manager
Symbolic link
1
users/i/home-manager/home-manager
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/i/Projects/nixos-system-config/users/i/home-manager
|
25
users/i/home-manager/home.nix
Normal file
25
users/i/home-manager/home.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ config, ... }:
|
||||
|
||||
{
|
||||
home.username = "i";
|
||||
home.homeDirectory = "/home/i";
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
home.file.".zshenv" = {
|
||||
text = "source ~/.nix-profile/etc/profile.d/hm-session-vars.sh";
|
||||
};
|
||||
|
||||
home.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
ZDOTDIR = "${config.xdg.configHome}/zsh";
|
||||
};
|
||||
|
||||
imports = [
|
||||
./shared_packages/nvim/neovim.nix
|
||||
./shared_packages/zsh/zsh-home.nix
|
||||
./packages/neovim.nix
|
||||
];
|
||||
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
|
15
users/i/home-manager/packages/neovim.nix
Normal file
15
users/i/home-manager/packages/neovim.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
/* Because programs.neovim.extraPackages doesn't work */
|
||||
home.packages = with pkgs; [
|
||||
lua-language-server
|
||||
nodePackages.intelephense
|
||||
nodePackages.typescript-language-server
|
||||
clang-tools
|
||||
ripgrep
|
||||
nil
|
||||
gcc
|
||||
];
|
||||
}
|
||||
|
1
users/i/home-manager/shared_packages/nvim
Symbolic link
1
users/i/home-manager/shared_packages/nvim
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../hu/packages/nvim
|
1
users/i/home-manager/shared_packages/zsh
Symbolic link
1
users/i/home-manager/shared_packages/zsh
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../../hu/packages/zsh
|
1
users/i/nix/nix
Symbolic link
1
users/i/nix/nix
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/i/Projects/nixos-system-config/users/i/nix
|
1
users/i/nix/nix.conf
Normal file
1
users/i/nix/nix.conf
Normal file
|
@ -0,0 +1 @@
|
|||
experimental-features = nix-command flakes
|
4
users/i/nixpkgs/config.nix
Normal file
4
users/i/nixpkgs/config.nix
Normal file
|
@ -0,0 +1,4 @@
|
|||
{
|
||||
allowUnfree = true;
|
||||
}
|
||||
|
1
users/i/nixpkgs/nixpkgs
Symbolic link
1
users/i/nixpkgs/nixpkgs
Symbolic link
|
@ -0,0 +1 @@
|
|||
/home/i/Projects/nixos-system-config/users/i/nixpkgs
|
Loading…
Add table
Add a link
Reference in a new issue