Skip to content

Commit

Permalink
fix: network on asahi
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Dec 2, 2024
1 parent 38df86a commit 7e9929b
Show file tree
Hide file tree
Showing 38 changed files with 49 additions and 19 deletions.
10 changes: 8 additions & 2 deletions system/net/default.nix
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{...}: {
{
lib,
config,
...
}: let
inherit (lib) mkIf;
in {
networking = {
nameservers = ["127.0.0.1" "::1"];
dhcpcd.extraConfig = "nohook resolv.conf";
Expand All @@ -7,7 +13,7 @@
unmanaged = ["docker0" "rndis0"];
dns = "none";
wifi = {
macAddress = "random";
macAddress = mkIf (! config.hardware.asahi.enable) "random";
powersave = true;
};
};
Expand Down
6 changes: 0 additions & 6 deletions user/hyprland/default.nix

This file was deleted.

3 changes: 0 additions & 3 deletions user/misc-scripts/default.nix

This file was deleted.

8 changes: 0 additions & 8 deletions user/misc-scripts/webcam.nix

This file was deleted.

22 changes: 22 additions & 0 deletions user/theme/_sources/generated.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"nord-nvim": {
"cargoLocks": null,
"date": "2024-06-16",
"extract": null,
"name": "nord-nvim",
"passthru": null,
"pinned": false,
"src": {
"deepClone": false,
"fetchSubmodules": false,
"leaveDotGit": false,
"name": null,
"owner": "andersevenrud",
"repo": "nordic.nvim",
"rev": "c88388b2a5f6e621df2718c316b856d4971bb89d",
"sha256": "sha256-ipmt0xD2zTfoh8fyYG4+09uVL2ef98FE9VwWpWJtQks=",
"type": "github"
},
"version": "c88388b2a5f6e621df2718c316b856d4971bb89d"
}
}
16 changes: 16 additions & 0 deletions user/theme/_sources/generated.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# This file was generated by nvfetcher, please do not modify it manually.
{ fetchgit, fetchurl, fetchFromGitHub, dockerTools }:
{
nord-nvim = {
pname = "nord-nvim";
version = "c88388b2a5f6e621df2718c316b856d4971bb89d";
src = fetchFromGitHub {
owner = "andersevenrud";
repo = "nordic.nvim";
rev = "c88388b2a5f6e621df2718c316b856d4971bb89d";
fetchSubmodules = false;
sha256 = "sha256-ipmt0xD2zTfoh8fyYG4+09uVL2ef98FE9VwWpWJtQks=";
};
date = "2024-06-16";
};
}
File renamed without changes.
3 changes: 3 additions & 0 deletions user/theme/nvfetcher.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[nord-nvim]
src.git = "https://github.com/andersevenrud/nordic.nvim"
fetch.github = "andersevenrud/nordic.nvim"
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 7e9929b

Please sign in to comment.