Compare commits
11 commits
Author | SHA1 | Date | |
---|---|---|---|
38c5c53a28 | |||
019a309dda | |||
db8daf4f06 | |||
e9625f41c4 | |||
2669f23735 | |||
8f7f58b9d1 | |||
1e3e2d083c | |||
b0bc8919c2 | |||
b6731802a8 | |||
e513320653 | |||
a35426bdac |
9 changed files with 66 additions and 65 deletions
26
flake.lock
generated
26
flake.lock
generated
|
@ -278,11 +278,11 @@
|
||||||
"lix": {
|
"lix": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739546930,
|
"lastModified": 1740304046,
|
||||||
"narHash": "sha256-m9s8XjIFd9ByX45/mnsryQa0G5ncMjOBJE4kAOHPoUI=",
|
"narHash": "sha256-BaI27pORky5j8slRzGJTzaWR5tuKvY1z9I+n7n16YgM=",
|
||||||
"rev": "1077bc626e8dfc153524da40eddad46ef893d66e",
|
"rev": "c64a9db6bb03d2755757188394d15fa1a0e12406",
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/1077bc626e8dfc153524da40eddad46ef893d66e.tar.gz?rev=1077bc626e8dfc153524da40eddad46ef893d66e"
|
"url": "https://git.lix.systems/api/v1/repos/lix-project/lix/archive/c64a9db6bb03d2755757188394d15fa1a0e12406.tar.gz?rev=c64a9db6bb03d2755757188394d15fa1a0e12406"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"type": "tarball",
|
"type": "tarball",
|
||||||
|
@ -387,11 +387,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1738816619,
|
"lastModified": 1740089251,
|
||||||
"narHash": "sha256-5yRlg48XmpcX5b5HesdGMOte+YuCy9rzQkJz+imcu6I=",
|
"narHash": "sha256-Y78mDBWoO8CLLTjQfPfII+KXFb6lAmF9GrLbyVBsIMM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "2eccff41bab80839b1d25b303b53d339fbb07087",
|
"rev": "18e9f9753e9ae261bcc7d3abe15745686991fd30",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -403,11 +403,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739484910,
|
"lastModified": 1740162160,
|
||||||
"narHash": "sha256-wjWLzdM7PIq4ZAe7k3vyjtgVJn6b0UeodtRFlM/6W5U=",
|
"narHash": "sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "0b73e36b1962620a8ac551a37229dd8662dac5c8",
|
"rev": "11415c7ae8539d6292f2928317ee7a8410b28bb9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -447,11 +447,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs-unstable": {
|
"nixpkgs-unstable": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1739446958,
|
"lastModified": 1739866667,
|
||||||
"narHash": "sha256-+/bYK3DbPxMIvSL4zArkMX0LQvS7rzBKXnDXLfKyRVc=",
|
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2ff53fe64443980e139eaa286017f53f88336dd0",
|
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -111,7 +111,7 @@
|
||||||
./modules/basic-tools
|
./modules/basic-tools
|
||||||
./modules/binary-caches.nix
|
./modules/binary-caches.nix
|
||||||
./modules/devtools.nix
|
./modules/devtools.nix
|
||||||
./modules/sway.nix
|
./modules/gnome.nix
|
||||||
./modules/gnupg.nix
|
./modules/gnupg.nix
|
||||||
./modules/radio.nix
|
./modules/radio.nix
|
||||||
./modules/science.nix
|
./modules/science.nix
|
||||||
|
|
|
@ -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";
|
||||||
|
|
|
@ -1,22 +1,31 @@
|
||||||
{ lib, pkgs, ... }: {
|
{ lib, config, ... }:
|
||||||
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./mullvad.nix
|
./mullvad.nix
|
||||||
./dumpdvb.nix
|
./dumpdvb.nix
|
||||||
./zw.nix
|
./zw.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [ iwgtk impala ];
|
# Networkmanager shouldn't interfere with systemd managed interfaces
|
||||||
|
networking.networkmanager.unmanaged =
|
||||||
|
let
|
||||||
|
systemd_netdevs = lib.attrsets.attrValues (
|
||||||
|
lib.attrsets.mapAttrs (_name: value: value.netdevConfig.Name) config.systemd.network.netdevs
|
||||||
|
);
|
||||||
|
in
|
||||||
|
systemd_netdevs;
|
||||||
|
|
||||||
# kick out networkmanager
|
systemd.network = {
|
||||||
networking.networkmanager.enable = lib.mkForce false;
|
enable = true;
|
||||||
networking.useNetworkd = true;
|
wait-online.enable = false; # uplink is managed by networkmanager
|
||||||
systemd.network.enable = true;
|
};
|
||||||
|
|
||||||
|
users.users."0xa".extraGroups = [ "networkmanager" ];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostName = "toaster";
|
hostName = "toaster";
|
||||||
firewall.enable = true;
|
firewall.enable = true;
|
||||||
wireguard.enable = true;
|
wireguard.enable = true;
|
||||||
wireless.iwd.enable = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.resolved = {
|
services.resolved = {
|
||||||
|
@ -30,34 +39,4 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# we might have no interwebs at all
|
|
||||||
systemd.network.wait-online.enable = false;
|
|
||||||
|
|
||||||
# uplinks
|
|
||||||
systemd.network.networks = {
|
|
||||||
"10-ether-uplink" = {
|
|
||||||
matchConfig.Name = "enp1s0f0";
|
|
||||||
networkConfig = {
|
|
||||||
DHCP = "yes";
|
|
||||||
IPv6AcceptRA = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"10-dock-uplink" = {
|
|
||||||
matchConfig.Name = "enp5s0f4u1u1";
|
|
||||||
networkConfig = {
|
|
||||||
DHCP = "yes";
|
|
||||||
IPv6AcceptRA = true;
|
|
||||||
};
|
|
||||||
dhcpV4Config = { RouteMetric = 666; };
|
|
||||||
dhcpV6Config = { RouteMetric = 666; };
|
|
||||||
};
|
|
||||||
"wlan-uplink" = {
|
|
||||||
matchConfig.Name = "wlan0";
|
|
||||||
networkConfig = {
|
|
||||||
DHCP = "yes";
|
|
||||||
IPv6AcceptRA = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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 git-lfs ] else [ git ]);
|
++ (
|
||||||
|
if config.networking.hostName == "toaster" then
|
||||||
|
[
|
||||||
|
gitFull
|
||||||
|
git-lfs
|
||||||
|
]
|
||||||
|
else
|
||||||
|
[ git ]
|
||||||
|
);
|
||||||
|
|
||||||
environment.variables =
|
environment.variables =
|
||||||
let
|
let
|
||||||
|
|
|
@ -5,18 +5,15 @@
|
||||||
dino
|
dino
|
||||||
ffmpeg-full
|
ffmpeg-full
|
||||||
firefox-wayland
|
firefox-wayland
|
||||||
vivaldi
|
|
||||||
vivaldi-ffmpeg-codecs
|
|
||||||
gimp
|
gimp
|
||||||
inkscape
|
inkscape
|
||||||
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;
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue