Compare commits
2 commits
fdc3dfb1e6
...
58f5120af9
Author | SHA1 | Date | |
---|---|---|---|
Antoine Martin | 58f5120af9 | ||
Antoine Martin | f603634ec9 |
34
flake.lock
34
flake.lock
|
@ -61,20 +61,19 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
"nixpkgs"
|
"nixpkgs"
|
||||||
],
|
]
|
||||||
"utils": "utils"
|
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1681092193,
|
"lastModified": 1685599623,
|
||||||
"narHash": "sha256-JerCqqOqbT2tBnXQW4EqwFl0hHnuZp21rIQ6lu/N4rI=",
|
"narHash": "sha256-Tob4CMOVHue0D3RzguDBCtUmX5ji2PsdbQDbIOIKvsc=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "f9edbedaf015013eb35f8caacbe0c9666bbc16af",
|
"rev": "93db05480c0c0f30382d3e80779e8386dcb4f9dd",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"ref": "release-22.11",
|
"ref": "release-23.05",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -129,16 +128,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs_2": {
|
"nixpkgs_2": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1684661732,
|
"lastModified": 1685533922,
|
||||||
"narHash": "sha256-2/Xo/UmUUoMXc0T5tzoUsYjMLLMjEfzRWDAQB0WwtW0=",
|
"narHash": "sha256-y4FCQpYafMQ42l1V+NUrMel9RtFtZo59PzdzflKR/lo=",
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "b0671cbf1e5c443f7fbfd4941ee0f8a151435114",
|
"rev": "3a70dd92993182f8e514700ccf5b1ae9fc8a3b8d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "NixOS",
|
"owner": "NixOS",
|
||||||
"ref": "nixos-22.11",
|
"ref": "nixos-23.05",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -152,21 +151,6 @@
|
||||||
"nixpkgs": "nixpkgs_2",
|
"nixpkgs": "nixpkgs_2",
|
||||||
"nixpkgs-unstable-small": "nixpkgs-unstable-small"
|
"nixpkgs-unstable-small": "nixpkgs-unstable-small"
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"utils": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1667395993,
|
|
||||||
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"rev": "5aed5285a952e0b949eb3ba02c12fa4fcfef535f",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "numtide",
|
|
||||||
"repo": "flake-utils",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"root": "root",
|
"root": "root",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "NixOS";
|
owner = "NixOS";
|
||||||
repo = "nixpkgs";
|
repo = "nixpkgs";
|
||||||
ref = "nixos-22.11";
|
ref = "nixos-23.05";
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs-unstable-small = {
|
nixpkgs-unstable-small = {
|
||||||
|
@ -25,7 +25,7 @@
|
||||||
type = "github";
|
type = "github";
|
||||||
owner = "nix-community";
|
owner = "nix-community";
|
||||||
repo = "home-manager";
|
repo = "home-manager";
|
||||||
ref = "release-22.11";
|
ref = "release-23.05";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -47,7 +47,7 @@ in {
|
||||||
config.xdg.configFile."i3status-rust/config-top.toml".target;
|
config.xdg.configFile."i3status-rust/config-top.toml".target;
|
||||||
in [
|
in [
|
||||||
{
|
{
|
||||||
statusCommand = "i3status-rs ${barConfigPath}";
|
statusCommand = "i3status-rs ~/${barConfigPath}";
|
||||||
position = "top";
|
position = "top";
|
||||||
fonts = {
|
fonts = {
|
||||||
names = ["DejaVuSansMono" "FontAwesome6Free"];
|
names = ["DejaVuSansMono" "FontAwesome6Free"];
|
||||||
|
|
|
@ -52,46 +52,42 @@ in {
|
||||||
bars = {
|
bars = {
|
||||||
top = {
|
top = {
|
||||||
icons = "awesome5";
|
icons = "awesome5";
|
||||||
|
settings.theme = {
|
||||||
theme = i3BarTheme.theme.name;
|
theme = i3BarTheme.theme.name;
|
||||||
settings = i3BarTheme;
|
overrides = i3BarTheme.theme.overrides;
|
||||||
|
};
|
||||||
|
|
||||||
blocks =
|
blocks =
|
||||||
[
|
[
|
||||||
{
|
{
|
||||||
block = "pomodoro";
|
block = "pomodoro";
|
||||||
length = 50;
|
notify_cmd = "i3nag";
|
||||||
break_length = 10;
|
blocking_cmd = true;
|
||||||
notifier = "i3nag";
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
block = "disk_space";
|
block = "disk_space";
|
||||||
path = "/";
|
path = "/";
|
||||||
alias = "/";
|
|
||||||
info_type = "available";
|
info_type = "available";
|
||||||
unit = "GB";
|
|
||||||
interval = 60;
|
interval = 60;
|
||||||
warning = 20.0;
|
warning = 20.0;
|
||||||
alert = 10.0;
|
alert = 10.0;
|
||||||
|
alert_unit = "GB";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
block = "memory";
|
block = "memory";
|
||||||
display_type = "memory";
|
format = " $icon $mem_used.eng(prefix:G)/$mem_total.eng(prefix:G) ";
|
||||||
format_mem = "{mem_used;G}/{mem_total;G}";
|
|
||||||
warning_mem = 70.0;
|
warning_mem = 70.0;
|
||||||
critical_mem = 90.0;
|
critical_mem = 90.0;
|
||||||
# don't show swap
|
|
||||||
clickable = false;
|
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
block = "cpu";
|
block = "cpu";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
format = "{barchart}";
|
format = " $icon $barchart ";
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
block = "temperature";
|
block = "temperature";
|
||||||
collapsed = false;
|
|
||||||
interval = 10;
|
interval = 10;
|
||||||
format = "{max}";
|
format = " $icon $max ";
|
||||||
chip = cfg.temperature.chip;
|
chip = cfg.temperature.chip;
|
||||||
inputs = cfg.temperature.inputs;
|
inputs = cfg.temperature.inputs;
|
||||||
}
|
}
|
||||||
|
@ -103,14 +99,18 @@ in {
|
||||||
block = "net";
|
block = "net";
|
||||||
device = interface;
|
device = interface;
|
||||||
interval = 1;
|
interval = 1;
|
||||||
hide_inactive = true;
|
missing_format = "";
|
||||||
})
|
})
|
||||||
cfg.networking.throughput_interfaces)
|
cfg.networking.throughput_interfaces)
|
||||||
)
|
)
|
||||||
++ [
|
++ [
|
||||||
{
|
{
|
||||||
block = "networkmanager";
|
block = "net";
|
||||||
primary_only = true;
|
format = " $icon $ip {SSID: $ssid|}";
|
||||||
|
theme_overrides = {
|
||||||
|
idle_bg = { link = "good_bg"; };
|
||||||
|
idle_fg = { link = "good_fg"; };
|
||||||
|
};
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
block = "sound";
|
block = "sound";
|
||||||
|
@ -121,6 +121,7 @@ in {
|
||||||
optional config.my.home.laptop.enable
|
optional config.my.home.laptop.enable
|
||||||
{
|
{
|
||||||
block = "battery";
|
block = "battery";
|
||||||
|
format = " $icon $percentage ($power) ";
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
++ [
|
++ [
|
||||||
|
@ -130,8 +131,7 @@ in {
|
||||||
{
|
{
|
||||||
block = "time";
|
block = "time";
|
||||||
interval = 5;
|
interval = 5;
|
||||||
format = "%a %d/%m %T";
|
format = " $icon $timestamp.datetime(f:'%a %d/%m %T', l:fr_FR) ";
|
||||||
locale = "fr_FR";
|
|
||||||
timezone = "Europe/Paris";
|
timezone = "Europe/Paris";
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in a new issue