push
This commit is contained in:
14
main.nix
14
main.nix
@@ -2,6 +2,7 @@
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
users.users.bug = {
|
||||
isNormalUser = true;
|
||||
description = "Bug";
|
||||
@@ -13,6 +14,8 @@
|
||||
|
||||
(python3.withPackages (ps: with ps; [
|
||||
pip
|
||||
pynput
|
||||
python-uinput
|
||||
]))
|
||||
|
||||
luau
|
||||
@@ -50,15 +53,19 @@
|
||||
mapscii
|
||||
|
||||
cloudflared
|
||||
|
||||
base16-schemes
|
||||
];
|
||||
};
|
||||
|
||||
programs.dconf.enable = lib.mkDefault true;
|
||||
|
||||
programs = {
|
||||
bash.shellAliases = {
|
||||
rebuild = "sudo nixos-rebuild switch --impure";
|
||||
|
||||
pi = "ssh -t $(avahi-resolve-host-name -4 pi.home | awk '{print $2}')";
|
||||
pid = "pi \"cd $(pwd) && bash\"";
|
||||
pissh = "ssh -t $(avahi-resolve-host-name -4 pi.home | awk '{print $2}')";
|
||||
pi = "pissh \"cd $(pwd) && bash\"";
|
||||
|
||||
pico = "ssh pico.sh";
|
||||
|
||||
@@ -87,7 +94,10 @@ ssh -R \"$\{name}:80:localhost:$\{port}\" tuns.sh'\'' _";
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
home-manager
|
||||
git
|
||||
wget
|
||||
gcc
|
||||
|
||||
Reference in New Issue
Block a user