push
This commit is contained in:
@@ -7,7 +7,7 @@ let
|
||||
in {
|
||||
den.hosts.x86_64-linux = {
|
||||
nix.users.bug = bug;
|
||||
laptop.users.bug = bug;
|
||||
styx.users.bug = bug;
|
||||
box.users.bug = bug;
|
||||
};
|
||||
|
||||
|
||||
@@ -16,6 +16,10 @@
|
||||
# sish
|
||||
vscode-server
|
||||
gitea
|
||||
|
||||
catppuccin
|
||||
|
||||
janitor
|
||||
];
|
||||
|
||||
nixos = {
|
||||
|
||||
@@ -12,10 +12,7 @@
|
||||
openssh
|
||||
syncthing
|
||||
|
||||
catppuccin
|
||||
fish
|
||||
|
||||
janitor
|
||||
];
|
||||
|
||||
nixos = { ... }: {
|
||||
@@ -23,8 +20,10 @@
|
||||
/etc/nixos/hardware-configuration.nix
|
||||
];
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.backupFileExtension = "hm-backup";
|
||||
home-manager = {
|
||||
useGlobalPkgs = true;
|
||||
backupFileExtension = "hm-backup";
|
||||
};
|
||||
|
||||
system = {
|
||||
stateVersion = "26.05";
|
||||
|
||||
@@ -4,6 +4,10 @@
|
||||
common
|
||||
|
||||
nvidia
|
||||
|
||||
catppuccin
|
||||
|
||||
janitor
|
||||
];
|
||||
|
||||
nixos = {
|
||||
|
||||
@@ -1,15 +1,19 @@
|
||||
{ den, ... }: {
|
||||
den.aspects.laptop = {
|
||||
den.aspects.styx = {
|
||||
includes = with den.aspects; [
|
||||
common
|
||||
|
||||
amdgpu
|
||||
cloudflare-warp
|
||||
cad
|
||||
|
||||
catppuccin
|
||||
|
||||
janitor
|
||||
];
|
||||
|
||||
nixos = {
|
||||
networking.hostName = "nix";
|
||||
networking.hostName = "styx";
|
||||
|
||||
services.logind.settings.Login = {
|
||||
HandleLidSwitch = "ignore";
|
||||
@@ -1,12 +1,20 @@
|
||||
{
|
||||
den.aspects.portmap.nixos.options.den.portmap = {
|
||||
tvtun = 3001;
|
||||
search = 8888;
|
||||
files = 3210;
|
||||
tube = 3030;
|
||||
reddit = 8975;
|
||||
git = 3002;
|
||||
monitor = 61208;
|
||||
matrix = 8008;
|
||||
den.aspects.portmap.nixos = { lib, ... }: {
|
||||
options.den.portmap = lib.mkOption {
|
||||
type = lib.types.attrsOf lib.types.port;
|
||||
default = {};
|
||||
description = "ports.";
|
||||
};
|
||||
|
||||
config.den.portmap = {
|
||||
tvtun = 3001;
|
||||
search = 8888;
|
||||
files = 3210;
|
||||
tube = 3030;
|
||||
reddit = 8975;
|
||||
git = 3002;
|
||||
monitor = 61208;
|
||||
matrix = 8008;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
5
modules/software/compatibility/nix-alien.nix
Normal file
5
modules/software/compatibility/nix-alien.nix
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
# nix-alien = import (
|
||||
# builtins.fetchTarball "https://github.com/thiagokokada/nix-alien/tarball/master"
|
||||
# ) {};
|
||||
}
|
||||
@@ -2,7 +2,14 @@
|
||||
den.aspects.fish = {
|
||||
nixos = { pkgs, ...}: {
|
||||
programs.fish.shellAliases = {
|
||||
fetch = "fastfetch --file ~/nix/nix.ans";
|
||||
|
||||
box = "ssh box.bug.tools";
|
||||
unbox = "sh -c 'ssh -N -L \"$1\":0.0.0.0:\"$1\" box.bug.tools &' --";
|
||||
rebox = "sh -c 'fuser -k \"$1\"/tcp' --";
|
||||
dock = "sh -c 'ssh -N -D \"$1\" box.bug.tools &' --";
|
||||
|
||||
pico = "ssh pico.sh";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs.fishPlugins; [
|
||||
|
||||
Reference in New Issue
Block a user