introduce desktop config
This commit is contained in:
parent
b202dc94f7
commit
70b8f31f34
5 changed files with 91 additions and 31 deletions
6
hosts/desktop/configuration.nix
Normal file
6
hosts/desktop/configuration.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
#Disable nix managment, since we use nix-determinate
|
||||
nix.enable = false;
|
||||
}
|
||||
29
hosts/desktop/home.nix
Normal file
29
hosts/desktop/home.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../../modules/common.nix
|
||||
../../modules/programs/bat.nix
|
||||
../../modules/programs/eza.nix
|
||||
../../modules/programs/fzf.nix
|
||||
../../modules/programs/git.nix
|
||||
../../modules/programs/k9s.nix
|
||||
../../modules/programs/micro.nix
|
||||
../../modules/programs/ssh.nix
|
||||
../../modules/programs/zoxide.nix
|
||||
../../modules/programs/zsh.nix
|
||||
];
|
||||
|
||||
programs.ssh.matchBlocks."*".extraOptions = {
|
||||
SetEnv = "TERM=xterm-256color";
|
||||
};
|
||||
programs.zsh = {
|
||||
localVariables = {
|
||||
SSH_AUTH_SOCK = "/home/duumxh/.bitwarden-ssh-agent.sock";
|
||||
};
|
||||
shellAliases = {
|
||||
nix-upgrade = "home-manager switch --flake ~/.nix";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue