added alot
This commit is contained in:
31
.config/home-manager/flake.nix
Normal file
31
.config/home-manager/flake.nix
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
description = "Home Manager configuration of robin";
|
||||
|
||||
inputs = {
|
||||
# Specify the source of Home Manager and Nixpkgs.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
home-manager = {
|
||||
url = "github:nix-community/home-manager";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
|
||||
outputs =
|
||||
{ nixpkgs, home-manager, ... }:
|
||||
let
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
{
|
||||
homeConfigurations."robin" = home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
# Specify your home configuration modules here, for example,
|
||||
# the path to your home.nix.
|
||||
modules = [ ./home.nix ];
|
||||
|
||||
# Optionally use extraSpecialArgs
|
||||
# to pass through arguments to home.nix
|
||||
};
|
||||
};
|
||||
}
|
||||
44
.config/home-manager/home.nix
Normal file
44
.config/home-manager/home.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{config, pkgs, ...}: {
|
||||
user = "robin";
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "robin"
|
||||
userEmail = "robin@mail.com"
|
||||
aliases = {
|
||||
pu = "push";
|
||||
co = "checkout";
|
||||
cm = "commit";
|
||||
}
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
theme.name = "catppuccin-frappe-pink-compact"
|
||||
cursorTheme.name = "Bibata-Modern-Classic"
|
||||
iconTheme.name = "Colloid-Dark"
|
||||
};
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
enableCompletions = true;
|
||||
autosuggestions.enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
|
||||
shellAliases = {
|
||||
ll = "ls -l";
|
||||
update = "sudo nixos-rebuild switch";
|
||||
alias vim="nvim";
|
||||
alias cls="clear";
|
||||
alias femboy="echo '$USER is a femboy'";
|
||||
alias shut="shutdown now";
|
||||
alias re="reboot";
|
||||
alias ls="exa";
|
||||
alias switchhack="fusee-nano ~/Downloads/switchhack/hekate_ctcaer_6.3.0.bin";
|
||||
alias ssh_t='(){ ssh $1 -t tmux;}';
|
||||
alias sshserver="ssh -i ~/.ssh/GlaServer00 glala@81.21.121.109";
|
||||
};
|
||||
history.size = 10000;
|
||||
};
|
||||
home.username = user;
|
||||
home.homeDirectory = "/home/${user}";
|
||||
programs.home-manager.enable = true;
|
||||
home.stateVersion = "25.11";
|
||||
}
|
||||
Reference in New Issue
Block a user