Initial commit lol
This commit is contained in:
parent
a2318e586a
commit
0cc3e1fc29
15 changed files with 416 additions and 0 deletions
12
modules/audio/pipewire/default.nix
Normal file
12
modules/audio/pipewire/default.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
security.rtkit.enable = true;
|
||||
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = false;
|
||||
alsa.support32Bit = false;
|
||||
pulse.enable = true;
|
||||
};
|
||||
}
|
||||
7
modules/graphics/nvidia/default.nix
Normal file
7
modules/graphics/nvidia/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.xserver.videoDrivers = [ "nvidia" ];
|
||||
hardware.opengl.enable = true;
|
||||
hardware.nvidia.package = config.boot.kernelPackages.nvidiaPackages.stable;
|
||||
}
|
||||
17
modules/login/greetd/default.nix
Normal file
17
modules/login/greetd/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.greetd = {
|
||||
enable = true;
|
||||
package = pkgs.greetd.tuigreet;
|
||||
settings = {
|
||||
terminal = {
|
||||
vt = 2;
|
||||
};
|
||||
default_session = {
|
||||
command = "${pkgs.greetd.tuigreet}/bin/tuigreet --time --cmd Hyprland";
|
||||
user = "pan";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
7
modules/network/bluetooth/default.nix
Normal file
7
modules/network/bluetooth/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
hardware.bluetooth.enable = true;
|
||||
hardware.bluetooth.powerOnBoot = true;
|
||||
services.blueman.enable = true;
|
||||
}
|
||||
6
modules/network/browsers/librewolf/default.nix
Normal file
6
modules/network/browsers/librewolf/default.nix
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
environment.variables.WEBBROWSER = "librewolf";
|
||||
environment.systemPackages = with pkgs; [ librewolf ];
|
||||
}
|
||||
41
modules/network/networking/default.nix
Normal file
41
modules/network/networking/default.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
networking.wireless = {
|
||||
enable = true;
|
||||
userControlled = {
|
||||
enable = true;
|
||||
group = "network";
|
||||
};
|
||||
networks = {
|
||||
"The Kabal 2.4" = {
|
||||
pskRaw = "56302c1b1c7499f4a4f0e01cefe14b4393c5092420ebf71c68336cd084acd357";
|
||||
priority = 1;
|
||||
};
|
||||
"WWUwireless-Secure" = {
|
||||
auth = ''
|
||||
key_mgmt=WPA-EAP
|
||||
eap=PEAP
|
||||
identity="langed@wwu.edu"
|
||||
password="Slashed-Tidy4-Cubbyhole"
|
||||
'';
|
||||
priority = 1;
|
||||
};
|
||||
"Yellowsticky" = {
|
||||
pskRaw = "8984d7e1e2f5bd9c3ccf92e429886bc64d40d42d4771ed5946556227afa4abf0";
|
||||
priority = 1;
|
||||
};
|
||||
"Lange" = {
|
||||
pskRaw = "bbbbf63e23747bc0ff36aed4c20dcee0221a6ccb2d2db07e4c64058e645e5f1e";
|
||||
priority = 1;
|
||||
};
|
||||
"Homura" = {
|
||||
pskRaw = "dd77456e1df3f2c17bccc917a0e609684fa6d2ccb6a2e0fb122d50d243e0c87e";
|
||||
priority = 0;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
networking.enableIPv6 = false;
|
||||
}
|
||||
9
modules/network/syncthing/default.nix
Normal file
9
modules/network/syncthing/default.nix
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
services.syncthing.enable = true;
|
||||
services.syncthing.user = "pan";
|
||||
services.syncthing.dataDir = "/home/pan/dox";
|
||||
services.syncthing.overrideFolders = false;
|
||||
services.syncthing.overrideDevices = false;
|
||||
}
|
||||
11
modules/shell/fish/default.nix
Normal file
11
modules/shell/fish/default.nix
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.defaultUserShell = pkgs.fish;
|
||||
|
||||
environment.shells = with pkgs; [ fish ];
|
||||
|
||||
# environment.variables.NIX_BUILD_SHELL = "fish";
|
||||
}
|
||||
36
modules/system/default.nix
Normal file
36
modules/system/default.nix
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Use the systemd-boot EFI boot loader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking.hostName = "jibril";
|
||||
|
||||
time.timeZone = "America/Los_Angeles";
|
||||
|
||||
i18n.defaultLocale = "en_US.UTF-8";
|
||||
|
||||
# "Essential" Packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
neovim
|
||||
nnn
|
||||
xdg-user-dirs
|
||||
blueman
|
||||
];
|
||||
|
||||
# XDG Compliance
|
||||
environment.sessionVariables = rec {
|
||||
XDG_CONFIG_HOME = "\${HOME}/.config";
|
||||
XDG_CACHE_HOME = "\${HOME}/.cache";
|
||||
XDG_STATE_HOME = "\${HOME}/.local/state";
|
||||
XDG_DATA_HOME = "\${HOME}/.local/share";
|
||||
XDG_BIN_HOME = "\${HOME}/.local/bin";
|
||||
};
|
||||
|
||||
users.groups = {
|
||||
wheel = { };
|
||||
network = { };
|
||||
};
|
||||
}
|
||||
7
modules/themeing/default.nix
Normal file
7
modules/themeing/default.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
fonts.packages = with pkgs; [
|
||||
cascadia-code
|
||||
];
|
||||
}
|
||||
8
modules/user/default.nix
Normal file
8
modules/user/default.nix
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
users.users.pan = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" "network" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue