Compare commits

...
Sign in to create a new pull request.

25 commits

Author SHA1 Message Date
38c5c53a28 bump lock 2025-02-23 13:57:38 +01:00
019a309dda Revert "sway config"
This reverts commit 73df58ccb0.
2025-02-23 02:34:44 +01:00
db8daf4f06 bump lock 2025-02-23 02:34:27 +01:00
e9625f41c4 software changes 2025-02-23 02:34:20 +01:00
2669f23735 bump lock 2025-02-21 00:53:12 +01:00
8f7f58b9d1 write tmp to disk 2025-02-21 00:52:57 +01:00
1e3e2d083c new name for telegram 2025-02-20 23:31:24 +01:00
b0bc8919c2 add zathura 2025-02-20 23:22:10 +01:00
b6731802a8 format 2025-02-18 09:54:31 +01:00
e513320653 software changes 2025-02-18 09:54:25 +01:00
a35426bdac add ibm3270 and cozette to fonts 2025-02-15 20:53:33 +01:00
f72c2e676c dnssec is annoying 2025-02-15 17:35:51 +01:00
73df58ccb0 sway config 2025-02-15 17:35:51 +01:00
cbb93b0041 update website 2025-02-15 17:03:56 +01:00
f40d25ed63 bump lock 2025-02-15 15:01:01 +01:00
ee5fe2ae95 bump lock 2025-02-13 19:48:43 +01:00
52d09e2f06 remove conflicting kicad defintitions 2025-02-13 19:35:14 +01:00
fdf386137b tide too buggy 2025-02-12 01:48:53 +01:00
715eeabaa4 bump lock 2025-02-11 16:07:40 +01:00
127f4d4c0e enable git lfs 2025-02-11 16:07:21 +01:00
2e5127bef8 forgejo: more resources 2025-02-11 12:33:44 +01:00
4658f48f07 bump lock 2025-02-10 15:22:28 +01:00
f8db0c1b86 update website 2025-02-10 12:12:25 +01:00
c95ccef488 update lix to beta 2025-02-10 12:07:38 +01:00
f4a7e1ee38 fish improvements 2025-02-10 11:51:25 +01:00
10 changed files with 93 additions and 63 deletions

87
flake.lock generated
View file

@ -14,11 +14,11 @@
"systems": "systems" "systems": "systems"
}, },
"locked": { "locked": {
"lastModified": 1738503522, "lastModified": 1739612324,
"narHash": "sha256-1yrVbGLBMBPl34EibVARkUB9Gak1GjLRLZXJk9jbHxU=", "narHash": "sha256-3RQgKLNSKlcLtdfAo7Zx3+Q+3Bwgy8rx3gZ6ejTeh1w=",
"owner": "nix-community", "owner": "nix-community",
"repo": "authentik-nix", "repo": "authentik-nix",
"rev": "bc62d5509989f5dca633c65b58aa0ac79a48db3e", "rev": "efd801f6faecf6caf489fa03dbd6e32e416bec6d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -102,11 +102,11 @@
"nixpkgs-lib": "nixpkgs-lib" "nixpkgs-lib": "nixpkgs-lib"
}, },
"locked": { "locked": {
"lastModified": 1736143030, "lastModified": 1738453229,
"narHash": "sha256-+hu54pAoLDEZT9pjHlqL9DNzWz0NbUn8NEAHP7PQPzU=", "narHash": "sha256-7H9XgNiGLKN1G1CgRh0vUL4AheZSYzPm+zmZ7vxbJdo=",
"owner": "hercules-ci", "owner": "hercules-ci",
"repo": "flake-parts", "repo": "flake-parts",
"rev": "b905f6fc23a9051a6e1b741e1438dbfc0634c6de", "rev": "32ea77a06711b758da0ad9bd6a844c5740a87abd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -278,36 +278,38 @@
"lix": { "lix": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1737234286, "lastModified": 1740304046,
"narHash": "sha256-CCKIAE84dzkrnlxJCKFyffAxP3yfsOAbdvydUGqq24g=", "narHash": "sha256-BaI27pORky5j8slRzGJTzaWR5tuKvY1z9I+n7n16YgM=",
"rev": "2837da71ec1588c1187d2e554719b15904a46c8b", "rev": "c64a9db6bb03d2755757188394d15fa1a0e12406",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/2837da71ec1588c1187d2e554719b15904a46c8b.tar.gz?rev=2837da71ec1588c1187d2e554719b15904a46c8b" "url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/c64a9db6bb03d2755757188394d15fa1a0e12406.tar.gz?rev=c64a9db6bb03d2755757188394d15fa1a0e12406"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/lix/archive/2.92.0.tar.gz" "url": "https://git.lix.systems/lix-project/lix/archive/main.tar.gz"
} }
}, },
"lix-module": { "lix-module": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_4", "flake-utils": "flake-utils_4",
"flakey-profile": "flakey-profile", "flakey-profile": "flakey-profile",
"lix": "lix", "lix": [
"lix"
],
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
}, },
"locked": { "locked": {
"lastModified": 1737237494, "lastModified": 1738176840,
"narHash": "sha256-YMLrcBpf0TR5r/eaqm8lxzFPap2TxCor0ZGcK3a7+b8=", "narHash": "sha256-NG3IRvRs3u3btVCN861FqHvgOwqcNT/Oy6PBG86F5/E=",
"rev": "b90bf629bbd835e61f1317b99e12f8c831017006", "rev": "621aae0f3cceaffa6d73a4fb0f89c08d338d729e",
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/b90bf629bbd835e61f1317b99e12f8c831017006.tar.gz?rev=b90bf629bbd835e61f1317b99e12f8c831017006" "url": "https://git.lix.systems/api/v1/repos/lix-project/nixos-module/archive/621aae0f3cceaffa6d73a4fb0f89c08d338d729e.tar.gz?rev=621aae0f3cceaffa6d73a4fb0f89c08d338d729e"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz" "url": "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz"
} }
}, },
"microvm": { "microvm": {
@ -385,11 +387,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1738638143, "lastModified": 1740089251,
"narHash": "sha256-ZYMe4c4OCtIUBn5hx15PEGr0+B1cNEpl2dsaLxwY2W0=", "narHash": "sha256-Y78mDBWoO8CLLTjQfPfII+KXFb6lAmF9GrLbyVBsIMM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "9bdd53f5908453e4d03f395eb1615c3e9a351f70", "rev": "18e9f9753e9ae261bcc7d3abe15745686991fd30",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -401,11 +403,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1738702386, "lastModified": 1740162160,
"narHash": "sha256-nJj8f78AYAxl/zqLiFGXn5Im1qjFKU8yBPKoWEeZN5M=", "narHash": "sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "030ba1976b7c0e1a67d9716b17308ccdab5b381e", "rev": "11415c7ae8539d6292f2928317ee7a8410b28bb9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -417,14 +419,14 @@
}, },
"nixpkgs-lib": { "nixpkgs-lib": {
"locked": { "locked": {
"lastModified": 1735774519, "lastModified": 1738452942,
"narHash": "sha256-CewEm1o2eVAnoqb6Ml+Qi9Gg/EfNAxbRx1lANGVyoLI=", "narHash": "sha256-vJzFZGaCpnmo7I6i416HaBLpC+hvcURh/BQwROcGIp8=",
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
}, },
"original": { "original": {
"type": "tarball", "type": "tarball",
"url": "https://github.com/NixOS/nixpkgs/archive/e9b51731911566bbf7e4895475a87fe06961de0b.tar.gz" "url": "https://github.com/NixOS/nixpkgs/archive/072a6db25e947df2f31aab9eccd0ab75d5b2da11.tar.gz"
} }
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
@ -445,11 +447,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1738680400, "lastModified": 1739866667,
"narHash": "sha256-ooLh+XW8jfa+91F1nhf9OF7qhuA/y1ChLx6lXDNeY5U=", "narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "799ba5bffed04ced7067a91798353d360788b30d", "rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -477,11 +479,11 @@
"treefmt-nix": "treefmt-nix" "treefmt-nix": "treefmt-nix"
}, },
"locked": { "locked": {
"lastModified": 1736884309, "lastModified": 1738741221,
"narHash": "sha256-eiCqmKl0BIRiYk5/ZhZozwn4/7Km9CWTbc15Cv+VX5k=", "narHash": "sha256-UiTOA89yQV5YNlO1ZAp4IqJUGWOnTyBC83netvt8rQE=",
"owner": "nix-community", "owner": "nix-community",
"repo": "poetry2nix", "repo": "poetry2nix",
"rev": "75d0515332b7ca269f6d7abfd2c44c47a7cbca7b", "rev": "be1fe795035d3d36359ca9135b26dcc5321b31fb",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -522,6 +524,7 @@
"authentik-nix": "authentik-nix", "authentik-nix": "authentik-nix",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_2",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"lix": "lix",
"lix-module": "lix-module", "lix-module": "lix-module",
"microvm": "microvm", "microvm": "microvm",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
@ -564,11 +567,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738291974, "lastModified": 1739262228,
"narHash": "sha256-wkwYJc8cKmmQWUloyS9KwttBnja2ONRuJQDEsmef320=", "narHash": "sha256-7JAGezJ0Dn5qIyA2+T4Dt/xQgAbhCglh6lzCekTVMeU=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "4c1251904d8a08c86ac6bc0d72cc09975e89aef7", "rev": "07af005bb7d60c7f118d9d9f5530485da5d1e975",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -701,18 +704,18 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1738536830, "lastModified": 1739635190,
"narHash": "sha256-3QbNcI9qJ0tKv00w0r2Amqf9pylHVolcTyEi30WZxY8=", "narHash": "sha256-UOFXRKepDpnPTGRyyfOt8uVkYaDL4gMbE2VlZR0lCNA=",
"ref": "main", "ref": "main",
"rev": "6fd169aab3ce461fef6a1a4dcbb2ef643e12d9e6", "rev": "28953f4e57a2c4ca2ada3547a45c8d2a839d4dfc",
"revCount": 5, "revCount": 9,
"type": "git", "type": "git",
"url": "https://codeberg.org/0xa/website.git" "url": "https://git.oxapentane.com/0xa/website.git"
}, },
"original": { "original": {
"ref": "main", "ref": "main",
"type": "git", "type": "git",
"url": "https://codeberg.org/0xa/website.git" "url": "https://git.oxapentane.com/0xa/website.git"
} }
} }
}, },

View file

@ -30,13 +30,19 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
lix = {
url = "https://git.lix.systems/lix-project/lix/archive/main.tar.gz";
flake = false;
};
lix-module = { lix-module = {
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.92.0.tar.gz"; url = "https://git.lix.systems/lix-project/nixos-module/archive/main.tar.gz";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.lix.follows = "lix";
}; };
website = { website = {
url = "git+https://codeberg.org/0xa/website.git?ref=main"; url = "git+https://git.oxapentane.com/0xa/website.git?ref=main";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils"; inputs.flake-utils.follows = "flake-utils";
}; };

View file

@ -18,7 +18,8 @@ in
microvm = { microvm = {
hypervisor = "qemu"; hypervisor = "qemu";
mem = 3 * 1024; mem = 3 * 1024;
vcpu = 2; balloonMem = 4 * 1024;
vcpu = 4;
interfaces = [ interfaces = [
{ {
type = "tap"; type = "tap";

View file

@ -49,6 +49,12 @@
options = [ "zfsutil" ]; options = [ "zfsutil" ];
}; };
fileSystems."/tmp" = {
device = "zpool/nocomp/tmp";
fsType = "zfs";
options = [ "zfsutil" ];
};
fileSystems."/boot" = { fileSystems."/boot" = {
device = "/dev/disk/by-uuid/A170-F83D"; device = "/dev/disk/by-uuid/A170-F83D";
fsType = "vfat"; fsType = "vfat";

View file

@ -19,6 +19,7 @@
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];
kernelParams = [ "nohibernate" ]; kernelParams = [ "nohibernate" ];
plymouth.enable = false; plymouth.enable = false;
tmp.useTmpfs = true; tmp.useTmpfs = false;
tmp.cleanOnBoot = true;
}; };
} }

View file

@ -39,7 +39,6 @@
exfatprogs exfatprogs
nmap nmap
bind bind
nnn
lf lf
man-pages man-pages
unzip unzip
@ -50,8 +49,17 @@
sshfs sshfs
whois whois
mtr mtr
joshuto
] ]
++ (if config.networking.hostName == "toaster" then [ gitFull ] else [ git ]); ++ (
if config.networking.hostName == "toaster" then
[
gitFull
git-lfs
]
else
[ git ]
);
environment.variables = environment.variables =
let let

View file

@ -3,11 +3,9 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
lsd lsd
fzf fzf
grc
fishPlugins.done fishPlugins.done
fishPlugins.fzf-fish fishPlugins.fzf-fish
fishPlugins.tide fishPlugins.hydro
fishPlugins.grc
]; ];
programs.fish = { programs.fish = {
@ -15,6 +13,7 @@
interactiveShellInit = '' interactiveShellInit = ''
set fish_greeting set fish_greeting
function fish_command_not_found function fish_command_not_found
echo "Command not found"
end end
''; '';
shellAliases = { shellAliases = {

View file

@ -5,19 +5,15 @@
dino dino
ffmpeg-full ffmpeg-full
firefox-wayland firefox-wayland
vivaldi
vivaldi-ffmpeg-codecs
gimp gimp
inkscape inkscape
kicad
signal-desktop signal-desktop
tdesktop telegram-desktop
tor-browser tor-browser
wl-clipboard wl-clipboard
yt-dlp yt-dlp
element-desktop element-desktop
discord discord
spotify
mpv mpv
]; ];
programs.steam.enable = true; programs.steam.enable = true;

View file

@ -26,7 +26,13 @@
twemoji-color-font twemoji-color-font
twitter-color-emoji twitter-color-emoji
iosevka-bin iosevka-bin
(nerdfonts.override { fonts = [ "Hack" ]; }) cozette
(nerdfonts.override {
fonts = [
"Hack"
"3270"
];
})
]; ];
fonts.enableDefaultPackages = true; fonts.enableDefaultPackages = true;

View file

@ -1,5 +1,8 @@
# General Desktop-related config # General Desktop-related config
{ pkgs, ... }: { pkgs, inputs, ... }:
let
unstablepkgs = inputs.nixpkgs-unstable.legacyPackages.${pkgs.system};
in
{ {
imports = [ imports = [
./desktop-software.nix ./desktop-software.nix
@ -19,11 +22,12 @@
termusic termusic
gsettings-desktop-schemas gsettings-desktop-schemas
xdg-utils xdg-utils
foot
qt5.qtwayland qt5.qtwayland
bashmount bashmount
nautilus
audacity audacity
spotify-player
zathura
ncdu
]; ];
# Enable sound. # Enable sound.
@ -61,16 +65,15 @@
''; '';
extraPackages = with pkgs; [ extraPackages = with pkgs; [
adwaita-icon-theme adwaita-icon-theme
alacritty
bluetui bluetui
foot foot
gammastep gammastep
graphicsmagick graphicsmagick
grim grim
i3status-rust unstablepkgs.i3status-rust
impala impala
kanshi kanshi
mako swaynotificationcenter
pamixer pamixer
rofi-wayland rofi-wayland
slurp slurp
@ -78,6 +81,7 @@
swaylock swaylock
wl-clipboard wl-clipboard
wl-mirror wl-mirror
xfce.thunar
]; ];
}; };
environment.sessionVariables = { environment.sessionVariables = {