Compare commits
8 Commits
12af7a5167
...
a1d6a2388e
| Author | SHA1 | Date | |
|---|---|---|---|
| a1d6a2388e | |||
| b6e7f2a0fe | |||
| 3be8cd6b80 | |||
| 54e40148e6 | |||
| d3335faec1 | |||
| 5195fe4445 | |||
| ac756d25fa | |||
| c79158d1ce |
8
flake.lock
generated
8
flake.lock
generated
@@ -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"
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
{ config, pkgs, lib, ... ]: {
|
{ config, pkgs, lib, ... }: {
|
||||||
boot.binfmt.emulatedSystems = [
|
boot.binfmt.emulatedSystems = [
|
||||||
"riscv64-linux"
|
"riscv64-linux"
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
];
|
||||||
|
})
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user