enable iwd

Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
2023-01-27 07:02:30 +05:30
parent a4173c855e
commit c87410b1aa
7 changed files with 67 additions and 29 deletions

64
flake.lock generated
View File

@@ -154,7 +154,9 @@
"hyprland": { "hyprland": {
"inputs": { "inputs": {
"hyprland-protocols": "hyprland-protocols", "hyprland-protocols": "hyprland-protocols",
"nixpkgs": "nixpkgs_2", "nixpkgs": [
"nixpkgs"
],
"wlroots": "wlroots", "wlroots": "wlroots",
"xdph": "xdph" "xdph": "xdph"
}, },
@@ -172,6 +174,26 @@
"type": "github" "type": "github"
} }
}, },
"hyprland-contrib": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1672071700,
"narHash": "sha256-Z0pbBVtijv4xbL42rPzMoYFSOqALFRYDMN9iOumSEso=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "37c8121f98d76f57caa00dd7106877876e0d7483",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "contrib",
"type": "github"
}
},
"hyprland-protocols": { "hyprland-protocols": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@@ -332,22 +354,6 @@
} }
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": {
"lastModified": 1673540789,
"narHash": "sha256-xqnxBOK3qctIeUVxecydrEDbEXjsvHCPGPbvsl63M/U=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0f213d0fee84280d8c3a97f7469b988d6fe5fcdf",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1674236650, "lastModified": 1674236650,
"narHash": "sha256-B4GKL1YdJnII6DQNNJ4wDW1ySJVx2suB1h/v4Ql8J0Q=", "narHash": "sha256-B4GKL1YdJnII6DQNNJ4wDW1ySJVx2suB1h/v4Ql8J0Q=",
@@ -363,7 +369,7 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_4": { "nixpkgs_3": {
"locked": { "locked": {
"lastModified": 1671983799, "lastModified": 1671983799,
"narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=", "narHash": "sha256-Z2Ro6hFPZHkBqkVXY5/aBUzxi5xizQGvuHQ9+T5B/ks=",
@@ -383,7 +389,7 @@
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"neovim-flake": "neovim-flake", "neovim-flake": "neovim-flake",
"nixpkgs": "nixpkgs_4" "nixpkgs": "nixpkgs_3"
}, },
"locked": { "locked": {
"lastModified": 1674288814, "lastModified": 1674288814,
@@ -405,12 +411,14 @@
"flake-parts": "flake-parts", "flake-parts": "flake-parts",
"home-manager": "home-manager", "home-manager": "home-manager",
"hyprland": "hyprland", "hyprland": "hyprland",
"hyprland-contrib": "hyprland-contrib",
"mailserver": "mailserver", "mailserver": "mailserver",
"nbfc": "nbfc", "nbfc": "nbfc",
"nix-gaming": "nix-gaming", "nix-gaming": "nix-gaming",
"nixpkgs": "nixpkgs_3", "nixpkgs": "nixpkgs_2",
"nvim-overlay": "nvim-overlay", "nvim-overlay": "nvim-overlay",
"rust-overlay": "rust-overlay", "rust-overlay": "rust-overlay",
"stable": "stable",
"webcord": "webcord" "webcord": "webcord"
} }
}, },
@@ -435,6 +443,22 @@
"type": "github" "type": "github"
} }
}, },
"stable": {
"locked": {
"lastModified": 1674638707,
"narHash": "sha256-yGYxlb5jPAiuvzCZ4MQAfPqp8DxfgkFEoBzYPhQxX4Y=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "d278b8c3f6b9fd9604fd0b7ddb3bf29f1cbaea39",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "release-22.11",
"repo": "nixpkgs",
"type": "github"
}
},
"utils": { "utils": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,

View File

@@ -3,6 +3,7 @@
inputs = { inputs = {
nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable; nixpkgs.url = github:nixos/nixpkgs/nixpkgs-unstable;
stable.url = github:nixos/nixpkgs/release-22.11;
flake-parts.url = github:hercules-ci/flake-parts; flake-parts.url = github:hercules-ci/flake-parts;
home-manager = { home-manager = {
url = github:nix-community/home-manager; url = github:nix-community/home-manager;
@@ -29,7 +30,14 @@
url = github:nix-community/neovim-nightly-overlay; url = github:nix-community/neovim-nightly-overlay;
inputs.nixpkgs.url = github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836; inputs.nixpkgs.url = github:nixos/nixpkgs?rev=fad51abd42ca17a60fc1d4cb9382e2d79ae31836;
}; };
hyprland.url = github:hyprwm/Hyprland; hyprland = {
url = github:hyprwm/Hyprland;
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-contrib = {
url = github:hyprwm/contrib;
inputs.nixpkgs.follows = "nixpkgs";
};
webcord.url = github:huantianad/nixpkgs/webcord; webcord.url = github:huantianad/nixpkgs/webcord;
}; };

View File

@@ -38,6 +38,7 @@
vim-latex-live-preview vim-latex-live-preview
lspkind-nvim lspkind-nvim
catppuccin-nvim catppuccin-nvim
yuck-vim
]; ];
}; };
}; };

View File

@@ -5,8 +5,12 @@
hostName = "satori"; hostName = "satori";
hostId = "beca3df0"; hostId = "beca3df0";
defaultGateway = "192.168.1.1"; defaultGateway = "192.168.1.1";
wireless = {
enable = false;
iwd.enable = true;
interfaces = [ "wlp0s20f3" ];
};
networkmanager.enable = true; networkmanager.enable = true;
wireless.interfaces = [ "wlp0s20f3" ];
firewall = { firewall = {
allowedTCPPorts = [ 22 18172 6600 8001 25565 ]; allowedTCPPorts = [ 22 18172 6600 8001 25565 ];
allowedUDPPorts = [ 22 17840 18172 ]; allowedUDPPorts = [ 22 17840 18172 ];

View File

@@ -46,6 +46,5 @@
adb.enable = true; adb.enable = true;
light.enable = true; light.enable = true;
gamemode.enable = true; gamemode.enable = true;
nm-applet.enable = true;
}; };
} }

View File

@@ -23,17 +23,17 @@
console.useXkbConfig = true; console.useXkbConfig = true;
fonts.fonts = with pkgs; [ fonts.fonts = with pkgs; [
fira-mono
fira-code fira-code
fira-mono
monoid
font-awesome
material-icons
material-design-icons
lohit-fonts.devanagari lohit-fonts.devanagari
lohit-fonts.gurmukhi lohit-fonts.gurmukhi
nerdfonts
font-awesome
monoid
office-code-pro office-code-pro
eb-garamond eb-garamond
noto-fonts-cjk noto-fonts-cjk
hanazono
takao takao
liberation_ttf liberation_ttf
]; ];

View File

@@ -3,6 +3,8 @@
{ {
xdg.portal = { xdg.portal = {
enable = true; enable = true;
extraPortals = [ inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland ]; extraPortals = [
inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland
];
}; };
} }