remove some packages, fix networking on server

This commit is contained in:
Kopatz
2024-12-06 19:18:12 +01:00
parent f6e72b0f72
commit 26314d37e1
6 changed files with 19 additions and 28 deletions

View File

@@ -361,7 +361,7 @@ exec --no-startup-id /usr/bin/env dunst
#exec --no-startup-id sleep 2 && xfce4-terminal #exec --no-startup-id sleep 2 && xfce4-terminal
#exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md #exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md
#exec --no-startup-id sleep 3 && thunar #exec --no-startup-id sleep 3 && thunar
exec --no-startup-id i3-msg workspace $ws9; exec discord exec --no-startup-id i3-msg workspace $ws9; exec discordcanary
exec --no-startup-id i3-msg workspace $ws10; exec firefox exec --no-startup-id i3-msg workspace $ws10; exec firefox
############### ###############

26
flake.lock generated
View File

@@ -548,11 +548,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1730943699, "lastModified": 1733339972,
"narHash": "sha256-Z1atKXmCKjniZkF1Wn8amNHbMmsVO24r5psLp9XnUbo=", "narHash": "sha256-6Ocb/x/7Y8mEjZU/xuxDZNX7EIQ5O0hKpzcYvH7+XdM=",
"owner": "lilyinstarlight", "owner": "lilyinstarlight",
"repo": "nixos-cosmic", "repo": "nixos-cosmic",
"rev": "77f7a41adaf314680d322a8303f12b180b33961c", "rev": "368e94ef348c45ec800f5f4a6939a397c024f984",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -653,27 +653,27 @@
}, },
"nixpkgs-stable": { "nixpkgs-stable": {
"locked": { "locked": {
"lastModified": 1730741070, "lastModified": 1732981179,
"narHash": "sha256-edm8WG19kWozJ/GqyYx2VjW99EdhjKwbY3ZwdlPAAlo=", "narHash": "sha256-F7thesZPvAMSwjRu0K8uFshTk3ZZSNAsXTIFvXBT+34=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d063c1dd113c91ab27959ba540c0d9753409edf3", "rev": "62c435d93bf046a5396f3016472e8f7c8e2aed65",
"type": "github" "type": "github"
}, },
"original": { "original": {
"owner": "NixOS", "owner": "NixOS",
"ref": "nixos-24.05", "ref": "nixos-24.11",
"repo": "nixpkgs", "repo": "nixpkgs",
"type": "github" "type": "github"
} }
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1733015953, "lastModified": 1733212471,
"narHash": "sha256-t4BBVpwG9B4hLgc6GUBuj3cjU7lP/PJfpTHuSqE+crk=", "narHash": "sha256-M1+uCoV5igihRfcUKrr1riygbe73/dzNnzPsmaLCmpo=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ac35b104800bff9028425fec3b6e8a41de2bbfff", "rev": "55d15ad12a74eb7d4646254e13638ad0c4128776",
"type": "github" "type": "github"
}, },
"original": { "original": {
@@ -792,11 +792,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1730860036, "lastModified": 1732933841,
"narHash": "sha256-u0sfA4B65Q9cRO3xpIkQ4nldB8isfdIb3rWtsnRZ+Iw=", "narHash": "sha256-dge02pUSe2QeC/B3PriA0R8eAX+EU3aDoXj9FcS3XDw=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "b8eb3aeb21629cbe14968a5e3b1cbaefb0d1b260", "rev": "c65e91d4a33abc3bc4a892d3c5b5b378bad64ea1",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -1,7 +1,7 @@
{ {
imports = [ imports = [
./hyprland-settings.nix ./hyprland-settings.nix
./hyprland-xwaylandvideobridge.nix #./hyprland-xwaylandvideobridge.nix not needed anymore
./waybar.nix ./waybar.nix
./hyprlock.nix ./hyprlock.nix
]; ];

View File

@@ -12,7 +12,6 @@ in
documentation.dev.enable = true; documentation.dev.enable = true;
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
man-pages man-pages
kate
jetbrains.idea-ultimate jetbrains.idea-ultimate
typescript typescript
#jetbrains.clion #jetbrains.clion

View File

@@ -65,7 +65,7 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
keepassxc keepassxc
discord discord
vesktop #vesktop
gvfs gvfs
remmina remmina
thunderbird thunderbird
@@ -83,7 +83,7 @@ in {
pinta # paint pinta # paint
#qalculate-qt # calculator TODO build broken #qalculate-qt # calculator TODO build broken
#libsForQt5.kcalc #libsForQt5.kcalc
syncthingtray #doesnt work with socket yet #syncthingtray #doesnt work with socket yet
v4l-utils v4l-utils
logseq # notes logseq # notes
xarchiver # archive tool xarchiver # archive tool

View File

@@ -40,19 +40,11 @@
mainUser.variant = "us"; mainUser.variant = "us";
networking = { networking = {
useNetworkd = true; # Ensure networkd is used, as it handles bridging well
defaultGateway.interface = "br0"; # Set the default gateway
defaultGateway.address = "192.168.0.1";
useDHCP = false; useDHCP = false;
defaultGateway.address = "192.168.0.1";
nameservers = [ "192.168.0.10" "1.1.1.1" ]; nameservers = [ "192.168.0.10" "1.1.1.1" ];
interfaces.enp6s0 = {
name = "eth0";
ipv4.addresses = [];
};
bridges.br0 = { bridges.br0 = { interfaces = [ "enp6s0" ]; };
interfaces = [ "eth0" ]; # Add eth0 to the bridge
};
interfaces.br0 = { interfaces.br0 = {
ipv4.addresses = [{ ipv4.addresses = [{
address = "192.168.0.20"; address = "192.168.0.20";