Compare commits

...

8 Commits

Author SHA1 Message Date
a1d6a2388e universeair: fonts.fonts -> fonts.packages 2024-07-13 09:37:52 -04:00
b6e7f2a0fe flake.lock: Update
Flake lock file updates:

• Updated input 'me-emacs':
    'git+https://git.syzygial.cc/Syzygial/EmacsConfig.git?ref=refs/heads/master&rev=3ac7b61c9f476746489938d708309b7e69eeafd4' (2024-06-16)
  → 'git+https://git.syzygial.cc/Syzygial/EmacsConfig.git?ref=refs/heads/master&rev=d2df2d938d87216af25639be001ebf531c7c4c2e' (2024-06-27)
2024-07-13 09:21:41 -04:00
3be8cd6b80 universeair: More Brews babe 2024-07-13 09:15:39 -04:00
54e40148e6 hippocampus: Allow hydra build riscv 2024-07-12 00:04:02 -04:00
d3335faec1 universedesktop: vesktop & obs 2024-07-11 23:19:30 -04:00
5195fe4445 universedesktop: wlroots portal 2024-07-11 23:19:00 -04:00
ac756d25fa Hippocampus: Remove Unused Deploy Machines
TODO: Replace the deployment with microvms similar to how it's
implemented in https://gitea.c3d2.de/c3d2
2024-07-09 15:59:58 -04:00
c79158d1ce Hippocampus: RISC-V typo 2024-07-07 11:48:12 -04:00
6 changed files with 36 additions and 55 deletions

8
flake.lock generated
View File

@@ -88,11 +88,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1718551485, "lastModified": 1719516443,
"narHash": "sha256-rIAQivtFw0YN3i3xAeBEpCcErA1KGD/IxV7c2VaKIJ8=", "narHash": "sha256-Yk5Y9f2RyMVsgJvnHviQZaa+B44ea6ZhUcJIfT/x2rY=",
"ref": "refs/heads/master", "ref": "refs/heads/master",
"rev": "3ac7b61c9f476746489938d708309b7e69eeafd4", "rev": "d2df2d938d87216af25639be001ebf531c7c4c2e",
"revCount": 61, "revCount": 65,
"type": "git", "type": "git",
"url": "https://git.syzygial.cc/Syzygial/EmacsConfig.git" "url": "https://git.syzygial.cc/Syzygial/EmacsConfig.git"
}, },

View File

@@ -1,4 +1,4 @@
{ config, pkgs, lib, ... ]: { { config, pkgs, lib, ... }: {
boot.binfmt.emulatedSystems = [ boot.binfmt.emulatedSystems = [
"riscv64-linux" "riscv64-linux"
]; ];

View File

@@ -1,14 +1,4 @@
{config, pkgs, ...}: let {config, pkgs, ...}: let
deploy-container = pkgs.writeScriptBin "deploy-nixos-container" ''
pushd $2
nixos-container update $1 --flake $2#$3
git reset --hard HEAD
git clean -fdx
git reflog expire --expire=now --all
git repack -ad # Remove dangling objects from packfiles
git prune # Remove dangling loose objects
popd
'';
in { in {
imports = [ imports = [
# ./nix-serve.nix # ./nix-serve.nix
@@ -42,42 +32,13 @@ in {
]; ];
}; };
# Deployment User
users.users.hydra-deploy = {
isNormalUser = true;
home = "/var/lib/hydra/deploy";
description = "Hydra Deployment User";
extraGroups = [ "hydra" ];
packages = [
deploy-container
];
};
# TODO: Configure authorizedKeys between
# hydra-queue-runner and hydra-deploy
security.sudo.extraRules = [
{
users = ["hydra-deploy"];
commands = [
{
command = "${deploy-container}/bin/deploy-nixos-container *";
options = ["NOPASSWD"];
}
];
}
];
networking.nat = {
enable = true;
internalInterfaces = [
"ve-newalan"
"ve-handyhelper"
];
externalInterface = "enp0s25";
enableIPv6 = true;
};
nix.buildMachines = [ nix.buildMachines = [
{ hostName = "localhost"; { hostName = "localhost";
system = "x86_64-linux"; systems = [
"x86_64-linux"
"riscv64-linux"
];
supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"]; supportedFeatures = ["kvm" "nixos-test" "big-parallel" "benchmark"];
maxJobs = 8; maxJobs = 8;
} }

View File

@@ -43,8 +43,7 @@ in
}; };
}; };
fonts.fontDir.enable = true; fonts.packages = with pkgs; [
fonts.fonts = with pkgs; [
julia-mono julia-mono
bqn386 bqn386
]; ];
@@ -61,7 +60,7 @@ in
}; };
environment.systemPackages = (with pkgs; [ environment.systemPackages = (with pkgs; [
mac-emacs me-emacs
(aspellWithDicts (p: with p;[ (aspellWithDicts (p: with p;[
en en
en-computers en-computers
@@ -106,10 +105,9 @@ in
"zoom-for-it-admins" "zoom-for-it-admins"
"libreoffice" "libreoffice"
"microsoft-office" "microsoft-office"
"prismlauncher"
"kicad" "kicad"
"tailscale" "tailscale"
"wine-stable" "r" "rstudio"
]; ];
# Apps to install outside of nix for when wanting to test/run # Apps to install outside of nix for when wanting to test/run
# things that... aren't used by other people who use nix, like # things that... aren't used by other people who use nix, like
@@ -117,6 +115,7 @@ in
brews = [ brews = [
"poetry" "poetry"
"python@3.11" "python@3.11"
"pygments"
# sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk \ # sudo ln -sfn /opt/homebrew/opt/openjdk/libexec/openjdk.jdk \
# /Library/Java/JavaVirtualMachines/openjdk.jdk # /Library/Java/JavaVirtualMachines/openjdk.jdk
"openjdk" "openjdk"

View File

@@ -73,6 +73,18 @@ in {
MOZ_ENABLE_WAYLAND=0; MOZ_ENABLE_WAYLAND=0;
GTK_THEME="Adwaita-dark"; GTK_THEME="Adwaita-dark";
}; };
xdg.portal.wlr = {
enable = true;
settings = {
screencast = {
output_name = "DP-2";
max_fps = 30;
chooser_type = "simple";
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
};
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
dwl dwl

View File

@@ -24,11 +24,20 @@
nextcloud-client nextcloud-client
libsForQt5.kdeconnect-kde libsForQt5.kdeconnect-kde
webcord vesktop
slack slack
signal-desktop signal-desktop
zoom-us zoom-us
anki anki
(pkgs.wrapOBS {
plugins = with pkgs.obs-studio-plugins; [
wlrobs
obs-backgroundremoval
obs-vkcapture
input-overlay
obs-pipewire-audio-capture
];
})
]; ];
} }