Compare commits
No commits in common. "93343473aab0dd09a31f2801837b74c2bb90598a" and "51fdbb4a8761ac3c1f5fe627b2a87e05dfb74382" have entirely different histories.
93343473aa
...
51fdbb4a87
10 changed files with 24 additions and 222 deletions
|
@ -17,7 +17,6 @@ in rec {
|
||||||
specialArgs = {
|
specialArgs = {
|
||||||
inherit stateVersion;
|
inherit stateVersion;
|
||||||
hostname = "mrmeeseeks";
|
hostname = "mrmeeseeks";
|
||||||
username = "ephase";
|
|
||||||
};
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./nixos/default.nix
|
./nixos/default.nix
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
qt = {
|
qt = {
|
||||||
enable = true;
|
enable = true;
|
||||||
platformTheme = "gnome";
|
platformTheme = "gnome";
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
programs.fuzzel = {
|
programs.fuzzel = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
programs.swaylock = {
|
programs.swaylock = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1,217 +1,10 @@
|
||||||
_: {
|
{ pkgs, config, ...}:
|
||||||
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
target = "sway-session.target";
|
target = "sway-session.target";
|
||||||
};
|
};
|
||||||
settings = {
|
|
||||||
mainbar = {
|
|
||||||
layer = "top";
|
|
||||||
spacing = 6;
|
|
||||||
disable-toolptips = true;
|
|
||||||
modules-center = [];
|
|
||||||
modules-left = [
|
|
||||||
"sway/workspaces"
|
|
||||||
"sway/mode"
|
|
||||||
];
|
|
||||||
modules-right = [
|
|
||||||
"network"
|
|
||||||
"custom/sep"
|
|
||||||
"memory"
|
|
||||||
"cpu"
|
|
||||||
"custom/sep"
|
|
||||||
"pulseaudio"
|
|
||||||
"custom/sep"
|
|
||||||
"clock"
|
|
||||||
"custom/sep"
|
|
||||||
"tray"
|
|
||||||
];
|
|
||||||
"clock" = {
|
|
||||||
"format-alt" = "{:%Y-%m-%d}";
|
|
||||||
"timezone" = "Europe/Paris";
|
|
||||||
"tooltip" = false;
|
|
||||||
};
|
|
||||||
"cpu" = {
|
|
||||||
"format" = "{usage}% {icon}";
|
|
||||||
"format-icons" = [ "" ];
|
|
||||||
"states" = {
|
|
||||||
"critical" = 90;
|
|
||||||
"warning" = 70;
|
|
||||||
};
|
|
||||||
"tooltip" = false;
|
|
||||||
};
|
|
||||||
"custom/sep" = {
|
|
||||||
"format" = "|";
|
|
||||||
"tooltip" = false;
|
|
||||||
};
|
|
||||||
"idle_inhibitor" = {
|
|
||||||
"format" = "{icon}";
|
|
||||||
"format-icons" = {
|
|
||||||
"activated" = "";
|
|
||||||
"deactivated" = "";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"memory" = {
|
|
||||||
"format" = "{used:0.1f}G/{total:0.1f}G ";
|
|
||||||
"interval" = 30;
|
|
||||||
"states" = {
|
|
||||||
"critical" = 90;
|
|
||||||
"warning" = 70;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
"network" = {
|
|
||||||
"format-alt" = "{ifname}: {ipaddr}/{cidr}";
|
|
||||||
"format-disconnected" = "Disconnected ⚠ ";
|
|
||||||
"format-ethernet" = "{ifname}: {ipaddr}/{cidr} ";
|
|
||||||
"format-linked" = "{ifname} (No IP) ";
|
|
||||||
"format-wifi" = "{essid} ({signalStrength}%) ";
|
|
||||||
"tooltip" = false;
|
|
||||||
};
|
|
||||||
"pulseaudio" = {
|
|
||||||
"format" = "{format_source} {volume}% {icon} ";
|
|
||||||
"format-bluetooth" = "{volume}% {icon}";
|
|
||||||
"format-icons" = {
|
|
||||||
"car" = "";
|
|
||||||
"default" = "";
|
|
||||||
"handsfree" = "";
|
|
||||||
"headphones" = "";
|
|
||||||
"headset" = "";
|
|
||||||
"phone" = "";
|
|
||||||
"portable" = "";
|
|
||||||
};
|
|
||||||
"format-muted" = "{format_source} ";
|
|
||||||
"format-source" = "{volume}% ";
|
|
||||||
"format-source-muted" = " ";
|
|
||||||
"tooltip" = false;
|
|
||||||
};
|
|
||||||
"sway/mode" = {
|
|
||||||
"format" = "<span style=\"italic\">{}</span>";
|
|
||||||
};
|
|
||||||
"sway/workspace" = {
|
|
||||||
"disable-scroll" = true;
|
|
||||||
};
|
|
||||||
"temperature" = {
|
|
||||||
"critical-threshold" = 80;
|
|
||||||
"format" = "{temperatureC}°C ";
|
|
||||||
"thermal-zone" = "6";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
style = ''
|
|
||||||
@define-color color-base-bg #323232;
|
|
||||||
@define-color color-base-fg #ddd;
|
|
||||||
|
|
||||||
@define-color color-hover #f268b3;
|
|
||||||
@define-color color-selected #1cd180;
|
|
||||||
|
|
||||||
@define-color color-ok #1cd180;
|
|
||||||
@define-color color-warning #f2b768;
|
|
||||||
@define-color color-critical #f268b3;
|
|
||||||
|
|
||||||
* {
|
|
||||||
border: none;
|
|
||||||
border-radius: 0;
|
|
||||||
min-height:0;
|
|
||||||
}
|
|
||||||
|
|
||||||
window#waybar {
|
|
||||||
background: @color-base-bg ;
|
|
||||||
color: @color-base-fg;
|
|
||||||
font-family: "Fira Code Nerd Font";
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
|
|
||||||
button,
|
|
||||||
button:disabled,label:disabled{
|
|
||||||
color:inherit;
|
|
||||||
}
|
|
||||||
|
|
||||||
button:hover{
|
|
||||||
background:none;
|
|
||||||
box-shadow:inherit;
|
|
||||||
box-shadow:inherit;
|
|
||||||
text-shadow:inherit;
|
|
||||||
text-shadow:inherit;
|
|
||||||
border-top:none;
|
|
||||||
}
|
|
||||||
#workspaces {
|
|
||||||
color:#fff;
|
|
||||||
}
|
|
||||||
#workspaces button {
|
|
||||||
margin:0 3px;
|
|
||||||
padding:4px 4px;
|
|
||||||
color:#9c9c9c;
|
|
||||||
border-bottom: 1px solid transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button:hover {
|
|
||||||
box-shadow:inherit;
|
|
||||||
text-shadow:inherit;
|
|
||||||
color: @color-hover;
|
|
||||||
border-bottom: 1px solid @color-hover;
|
|
||||||
}
|
|
||||||
|
|
||||||
#workspaces button.focused {
|
|
||||||
background:#1cd180 ;
|
|
||||||
color:#000;
|
|
||||||
}
|
|
||||||
#workspaces button.visible:not(.focused) {
|
|
||||||
color: @color-selected;
|
|
||||||
border-color: @color-selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
#clock,
|
|
||||||
#cpu,
|
|
||||||
#memory,
|
|
||||||
#backlight,
|
|
||||||
#network,
|
|
||||||
#tray,
|
|
||||||
#mode,
|
|
||||||
#battery,
|
|
||||||
#idle_inhibitor {
|
|
||||||
padding: 2px 4px;
|
|
||||||
margin: 0;
|
|
||||||
background-color: transparent;
|
|
||||||
}
|
|
||||||
|
|
||||||
#mode{
|
|
||||||
background:@color-warning;
|
|
||||||
font-weight:bold;
|
|
||||||
}
|
|
||||||
#pulseaudio {}
|
|
||||||
#pulseaudio.muted {
|
|
||||||
color:@color-critical;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.discharging {
|
|
||||||
color: @color-base-fg;
|
|
||||||
border-bottom: none;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.charging, #battery.plugged {
|
|
||||||
border-bottom: 1px solid @color-ok;
|
|
||||||
color: @color-selected;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.critical:not(.charging),
|
|
||||||
#cpu.critical,
|
|
||||||
#memory.critical{
|
|
||||||
border-color: @color-critical;
|
|
||||||
color: @color-critical;
|
|
||||||
}
|
|
||||||
|
|
||||||
#battery.warning:not(.charging),
|
|
||||||
#cpu.warning,
|
|
||||||
#memory.warning{
|
|
||||||
border-color: @color-warning;
|
|
||||||
color: @color-warning;
|
|
||||||
}
|
|
||||||
|
|
||||||
#tray {
|
|
||||||
font-family: "DejaVu sans";
|
|
||||||
font-size: 12px;
|
|
||||||
}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ ... }:
|
||||||
|
{
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
enable = true;
|
||||||
userDirs = {
|
userDirs = {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ pkgs, ...}:
|
||||||
|
{
|
||||||
programs.foot = {
|
programs.foot = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
_: {
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
programs.zathura = {
|
programs.zathura = {
|
||||||
enable = true;
|
enable = true;
|
||||||
options = {
|
options = {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, lib, stateVersion, hostname, username, ... }:
|
{ config, pkgs, lib, stateVersion, hostname, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
home-manager = {
|
home-manager = {
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
useUserPackages = true;
|
useUserPackages = true;
|
||||||
users.${username} = {
|
users.ephase = {
|
||||||
home.stateVersion = stateVersion;
|
home.stateVersion = stateVersion;
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -56,5 +56,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = "23.05";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, username, ... }:
|
{ config, pkgs, ... }:
|
||||||
{
|
{
|
||||||
# Services
|
# Services
|
||||||
services.pcscd.enable = true;
|
services.pcscd.enable = true;
|
||||||
|
@ -12,10 +12,14 @@
|
||||||
# Configs
|
# Configs
|
||||||
fonts.fontconfig.enable = true;
|
fonts.fontconfig.enable = true;
|
||||||
|
|
||||||
users.users.${username} = {
|
users.users.ephase = {
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
extraGroups = [ "video" "wheel" ];
|
extraGroups = [ "video" "wheel" ];
|
||||||
home = "/home/${username}";
|
home = "/home/ephase";
|
||||||
|
packages = with pkgs; [
|
||||||
|
remmina
|
||||||
|
gcc
|
||||||
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue