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
|
./hardware-configuration.nix
|
||||||
./modules/nix/firefox.nix
|
./modules/nix/firefox.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
nix.settings.experimental-features = [
|
||||||
|
"nix-command"
|
||||||
|
"flakes"
|
||||||
|
];
|
||||||
boot.loader.systemd-boot.enable = true;
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
|
||||||
networking.hostName = "poggers";
|
networking.hostName = "poggers";
|
||||||
@ -56,7 +64,6 @@
|
|||||||
programs = {
|
programs = {
|
||||||
hyprland = {
|
hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
|
||||||
};
|
};
|
||||||
nix-ld.enable = true;
|
nix-ld.enable = true;
|
||||||
};
|
};
|
||||||
@ -70,7 +77,14 @@
|
|||||||
users.users.fabian = {
|
users.users.fabian = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
initialPassword = "1601";
|
initialPassword = "1601";
|
||||||
extraGroups = [ "wheel" "docker" "audio" "video" "dialout" "plugdev" ];
|
extraGroups = [
|
||||||
|
"wheel"
|
||||||
|
"docker"
|
||||||
|
"audio"
|
||||||
|
"video"
|
||||||
|
"dialout"
|
||||||
|
"plugdev"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages =
|
environment.systemPackages =
|
||||||
@ -117,7 +131,7 @@
|
|||||||
# misc
|
# misc
|
||||||
cava
|
cava
|
||||||
mumble
|
mumble
|
||||||
discord
|
vesktop
|
||||||
|
|
||||||
# hardware & shit
|
# hardware & shit
|
||||||
libplist
|
libplist
|
||||||
@ -125,26 +139,31 @@
|
|||||||
usbmuxd
|
usbmuxd
|
||||||
|
|
||||||
])
|
])
|
||||||
++
|
++ (with pkgs-stable; [
|
||||||
(with pkgs-stable; [
|
|
||||||
|
|
||||||
]);
|
]);
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
firewall = {
|
firewall = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowedTCPPorts = [ 80 1337 8080 ];
|
allowedTCPPorts = [
|
||||||
|
80
|
||||||
|
1337
|
||||||
|
8080
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
security = {
|
security = {
|
||||||
doas = {
|
doas = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraRules = [{
|
extraRules = [
|
||||||
|
{
|
||||||
users = [ "fabian" ];
|
users = [ "fabian" ];
|
||||||
noPass = true;
|
noPass = true;
|
||||||
keepEnv = true;
|
keepEnv = true;
|
||||||
}];
|
}
|
||||||
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -166,4 +185,3 @@
|
|||||||
system.stateVersion = "unstable";
|
system.stateVersion = "unstable";
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2,7 +2,6 @@
|
|||||||
{
|
{
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
xwayland.enable = true;
|
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
|
||||||
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
|
||||||
@ -85,4 +84,3 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -36,6 +36,14 @@
|
|||||||
yamlls = {
|
yamlls = {
|
||||||
enable = true;
|
enable = true;
|
||||||
};
|
};
|
||||||
|
rust-analyzer = {
|
||||||
|
enable = true;
|
||||||
|
autostart = true;
|
||||||
|
};
|
||||||
|
clangd = {
|
||||||
|
enable = true;
|
||||||
|
autostart = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
keymaps = {
|
keymaps = {
|
||||||
silent = true;
|
silent = true;
|
||||||
|
@ -11,7 +11,8 @@ window#waybar {
|
|||||||
background: transparent;
|
background: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
#cava.left, #cava.right {
|
#cava.left,
|
||||||
|
#cava.right {
|
||||||
/* background: #25253a; */
|
/* background: #25253a; */
|
||||||
|
|
||||||
/*background: #25253a;*/
|
/*background: #25253a;*/
|
||||||
@ -31,7 +32,7 @@ window#waybar {
|
|||||||
margin: 5px 5px;
|
margin: 5px 5px;
|
||||||
padding: 8px 5px;
|
padding: 8px 5px;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
color: #cba6f7
|
color: #cba6f7;
|
||||||
}
|
}
|
||||||
#workspaces button {
|
#workspaces button {
|
||||||
padding: 0px 5px;
|
padding: 0px 5px;
|
||||||
@ -44,7 +45,7 @@ window#waybar {
|
|||||||
|
|
||||||
#workspaces button.active {
|
#workspaces button.active {
|
||||||
background-color: #89b4fa;
|
background-color: #89b4fa;
|
||||||
color: #11111B;
|
color: #11111b;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
@ -53,20 +54,28 @@ window#waybar {
|
|||||||
|
|
||||||
#workspaces button:hover {
|
#workspaces button:hover {
|
||||||
background-color: #f5f5f5;
|
background-color: #f5f5f5;
|
||||||
color: #11111B;
|
color: #11111b;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
min-width: 50px;
|
min-width: 50px;
|
||||||
background-size: 400% 400%;
|
background-size: 400% 400%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#tray, #pulseaudio, #network, #battery,
|
#tray,
|
||||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward{
|
#pulseaudio,
|
||||||
|
#network,
|
||||||
|
#battery,
|
||||||
|
#custom-playerctl.backward,
|
||||||
|
#custom-playerctl.play,
|
||||||
|
#custom-playerctl.foward {
|
||||||
background: #010101;
|
background: #010101;
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
margin: 5px 0px;
|
margin: 5px 0px;
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
}
|
}
|
||||||
#tray, #pulseaudio, #network, #battery{
|
#tray,
|
||||||
|
#pulseaudio,
|
||||||
|
#network,
|
||||||
|
#battery {
|
||||||
color: #f5f5f5;
|
color: #f5f5f5;
|
||||||
border-radius: 24px 24px 24px 24px;
|
border-radius: 24px 24px 24px 24px;
|
||||||
padding: 0 20px;
|
padding: 0 20px;
|
||||||
@ -90,11 +99,15 @@ window#waybar {
|
|||||||
font-size: 28px;
|
font-size: 28px;
|
||||||
}
|
}
|
||||||
|
|
||||||
#custom-playerctl.backward, #custom-playerctl.play, #custom-playerctl.foward {
|
#custom-playerctl.backward,
|
||||||
|
#custom-playerctl.play,
|
||||||
|
#custom-playerctl.foward {
|
||||||
background: #010101;
|
background: #010101;
|
||||||
font-size: 22px;
|
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;
|
color: #f5f5f5;
|
||||||
}
|
}
|
||||||
#custom-playerctl.backward {
|
#custom-playerctl.backward {
|
||||||
@ -111,7 +124,7 @@ window#waybar {
|
|||||||
color: #cba6f7;
|
color: #cba6f7;
|
||||||
border-radius: 0px 24px 24px 0px;
|
border-radius: 0px 24px 24px 0px;
|
||||||
padding-right: 12px;
|
padding-right: 12px;
|
||||||
margin-right: 7px
|
margin-right: 7px;
|
||||||
}
|
}
|
||||||
#custom-playerlabel {
|
#custom-playerlabel {
|
||||||
background: #010101;
|
background: #010101;
|
||||||
|
Reference in New Issue
Block a user