kekl
This commit is contained in:
@ -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";
|
||||
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,6 @@
|
||||
{
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
xwayland.enable = true;
|
||||
extraConfig = ''
|
||||
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
||||
@ -85,4 +84,3 @@
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
|
@ -36,6 +36,14 @@
|
||||
yamlls = {
|
||||
enable = true;
|
||||
};
|
||||
rust-analyzer = {
|
||||
enable = true;
|
||||
autostart = true;
|
||||
};
|
||||
clangd = {
|
||||
enable = true;
|
||||
autostart = true;
|
||||
};
|
||||
};
|
||||
keymaps = {
|
||||
silent = true;
|
||||
|
@ -11,7 +11,8 @@ window#waybar {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
#cava.left, #cava.right {
|
||||
#cava.left,
|
||||
#cava.right {
|
||||
/* background: #25253a; */
|
||||
|
||||
/*background: #25253a;*/
|
||||
@ -31,7 +32,7 @@ window#waybar {
|
||||
margin: 5px 5px;
|
||||
padding: 8px 5px;
|
||||
border-radius: 16px;
|
||||
color: #cba6f7
|
||||
color: #cba6f7;
|
||||
}
|
||||
#workspaces button {
|
||||
padding: 0px 5px;
|
||||
@ -44,7 +45,7 @@ window#waybar {
|
||||
|
||||
#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;
|
||||
|
Reference in New Issue
Block a user