This commit is contained in:
meml0rz
2024-11-13 01:43:09 +01:00
parent 595be1e6e2
commit 2e59194988
7 changed files with 458 additions and 421 deletions

View File

@ -1,13 +1,21 @@
{ config, lib, pkgs, pkgs-stable, ... }:
{
imports =
[
config,
lib,
pkgs,
pkgs-stable,
...
}:
{
imports = [
./hardware-configuration.nix
./modules/nix/firefox.nix
];
nixpkgs.config.allowUnfree = true;
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
boot.loader.systemd-boot.enable = true;
networking.hostName = "poggers";
@ -56,7 +64,6 @@
programs = {
hyprland = {
enable = true;
xwayland.enable = true;
};
nix-ld.enable = true;
};
@ -70,7 +77,14 @@
users.users.fabian = {
isNormalUser = true;
initialPassword = "1601";
extraGroups = [ "wheel" "docker" "audio" "video" "dialout" "plugdev" ];
extraGroups = [
"wheel"
"docker"
"audio"
"video"
"dialout"
"plugdev"
];
};
environment.systemPackages =
@ -117,7 +131,7 @@
# misc
cava
mumble
discord
vesktop
# hardware & shit
libplist
@ -125,26 +139,31 @@
usbmuxd
])
++
(with pkgs-stable; [
++ (with pkgs-stable; [
]);
networking = {
firewall = {
enable = true;
allowedTCPPorts = [ 80 1337 8080 ];
allowedTCPPorts = [
80
1337
8080
];
};
};
security = {
doas = {
enable = true;
extraRules = [{
extraRules = [
{
users = [ "fabian" ];
noPass = true;
keepEnv = true;
}];
}
];
};
};
@ -166,4 +185,3 @@
system.stateVersion = "unstable";
}

View File

@ -1,6 +1,6 @@
{ config, pkgs, ... }:
let
let
lock-false = {
Value = false;
Status = "locked";
@ -9,7 +9,7 @@
Value = true;
Status = "locked";
};
in
in
{
programs = {
firefox = {
@ -19,7 +19,7 @@
DisableTelemetry = true;
DisableFirefoxStudies = true;
EnableTrackingProtection = {
Value= true;
Value = true;
Locked = true;
Cryptomining = true;
Fingerprinting = true;

View File

@ -1,8 +1,7 @@
{config, pkgs, ... }:
{ config, pkgs, ... }:
{
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;
extraConfig = ''
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
@ -85,4 +84,3 @@
};
};
}

View File

@ -36,6 +36,14 @@
yamlls = {
enable = true;
};
rust-analyzer = {
enable = true;
autostart = true;
};
clangd = {
enable = true;
autostart = true;
};
};
keymaps = {
silent = true;

View File

@ -11,7 +11,8 @@ window#waybar {
background: transparent;
}
#cava.left, #cava.right {
#cava.left,
#cava.right {
/* background: #25253a; */
/*background: #25253a;*/
@ -31,20 +32,20 @@ window#waybar {
margin: 5px 5px;
padding: 8px 5px;
border-radius: 16px;
color: #cba6f7
color: #cba6f7;
}
#workspaces button {
padding: 0px 5px;
margin: 0px 3px;
border-radius: 16px;
color: transparent;
background: rgba(17,17,27,1);
background: rgba(17, 17, 27, 1);
transition: all 0.3s ease-in-out;
}
#workspaces button.active {
background-color: #89b4fa;
color: #11111B;
color: #11111b;
border-radius: 16px;
min-width: 50px;
background-size: 400% 400%;
@ -53,20 +54,28 @@ window#waybar {
#workspaces button:hover {
background-color: #f5f5f5;
color: #11111B;
color: #11111b;
border-radius: 16px;
min-width: 50px;
background-size: 400% 400%;
}
#tray, #pulseaudio, #network, #battery,
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{
#tray,
#pulseaudio,
#network,
#battery,
#custom-playerctl.backward,
#custom-playerctl.play,
#custom-playerctl.foward {
background: #010101;
font-weight: bold;
margin: 5px 0px;
opacity: 1;
}
#tray, #pulseaudio, #network, #battery{
#tray,
#pulseaudio,
#network,
#battery {
color: #f5f5f5;
border-radius: 24px 24px 24px 24px;
padding: 0 20px;
@ -90,11 +99,15 @@ window#waybar {
font-size: 28px;
}
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward {
#custom-playerctl.backward,
#custom-playerctl.play,
#custom-playerctl.foward {
background: #010101;
font-size: 22px;
}
#custom-playerctl.backward:hover, #custom-playerctl.play:hover, #custom-playerctl.foward:hover{
#custom-playerctl.backward:hover,
#custom-playerctl.play:hover,
#custom-playerctl.foward:hover {
color: #f5f5f5;
}
#custom-playerctl.backward {
@ -111,7 +124,7 @@ window#waybar {
color: #cba6f7;
border-radius: 0px 24px 24px 0px;
padding-right: 12px;
margin-right: 7px
margin-right: 7px;
}
#custom-playerlabel {
background: #010101;
@ -121,7 +134,7 @@ window#waybar {
margin: 5px 0;
font-weight: bold;
}
#window{
#window {
/*background: #25253a; */
padding-left: 15px;
padding-right: 15px;