add home for titan
This commit is contained in:
parent
c24f8a0539
commit
2dafd991c0
3 changed files with 55 additions and 0 deletions
|
@ -145,6 +145,14 @@
|
|||
./home/yt/chunk.nix
|
||||
];
|
||||
};
|
||||
|
||||
"yt@titan" = home-manager.lib.homeManagerConfiguration {
|
||||
pkgs = pkgsFor.x86_64-linux;
|
||||
extraSpecialArgs = { inherit inputs outputs; };
|
||||
modules = [
|
||||
./home/yt/titan.nix
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
32
home/yt/titan.nix
Normal file
32
home/yt/titan.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
];
|
||||
home = {
|
||||
username = "yt";
|
||||
homeDirectory = "/home/yt";
|
||||
stateVersion = "24.05";
|
||||
};
|
||||
programs.home-manager.enable = true;
|
||||
|
||||
systemd.user.startServices = "sd-switch";
|
||||
|
||||
home.packages = with pkgs; [
|
||||
lua-language-server
|
||||
vim-language-server
|
||||
python312Packages.python-lsp-server
|
||||
nixd
|
||||
gopls
|
||||
bash-language-server
|
||||
llvmPackages_19.clang-tools
|
||||
rust-analyzer
|
||||
yt-dlp
|
||||
gnumake
|
||||
btop
|
||||
foot.terminfo
|
||||
];
|
||||
}
|
|
@ -47,4 +47,19 @@
|
|||
};
|
||||
security.sudo.enable = true;
|
||||
security.sudo.wheelNeedsPassword = false;
|
||||
|
||||
# network stuff
|
||||
networking.hostName = "titan";
|
||||
networking.networkmanager.enable = true;
|
||||
networking.firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [
|
||||
22
|
||||
80
|
||||
443
|
||||
];
|
||||
allowedUDPPorts = [
|
||||
443
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue