hyprcontrib and shadower and btop config

This commit is contained in:
jacekpoz 2023-07-20 18:37:28 +02:00
parent ca698a527c
commit 7f719aef7e
6 changed files with 120 additions and 7 deletions

View file

@ -125,6 +125,26 @@
"type": "github"
}
},
"hyprcontrib": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1688849364,
"narHash": "sha256-gW4x5YiCWFlckFiaLZo+RWJa1IyQ2Cx4jTrJzNy1OzQ=",
"owner": "hyprwm",
"repo": "contrib",
"rev": "3126196e7ed609e7c427a39dc126ea067de62a65",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "contrib",
"type": "github"
}
},
"hyprland": {
"inputs": {
"hyprland-protocols": "hyprland-protocols",
@ -253,7 +273,7 @@
"hyprland_3": {
"inputs": {
"hyprland-protocols": "hyprland-protocols_3",
"nixpkgs": "nixpkgs_5",
"nixpkgs": "nixpkgs_6",
"wlroots": "wlroots_3",
"xdph": "xdph_3"
},
@ -271,6 +291,27 @@
"type": "github"
}
},
"naersk": {
"inputs": {
"nixpkgs": [
"shadower",
"nixpkgs"
]
},
"locked": {
"lastModified": 1679567394,
"narHash": "sha256-ZvLuzPeARDLiQUt6zSZFGOs+HZmE+3g4QURc8mkBsfM=",
"owner": "nmattia",
"repo": "naersk",
"rev": "88cd22380154a2c36799fe8098888f0f59861a15",
"type": "github"
},
"original": {
"owner": "nmattia",
"repo": "naersk",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1689534811,
@ -336,6 +377,22 @@
}
},
"nixpkgs_5": {
"locked": {
"lastModified": 1682809678,
"narHash": "sha256-jqR8t82mWotOSgnWZvr6xXCO/tc3fCPTLMPvI7Jo5rA=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "3dcff817eebb7e4afc4e9eae0ce6f722f4d9e399",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixpkgs-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1688500189,
"narHash": "sha256-djYYiY4lzJOlXOnTHytH6BUugrxHDZjuGxTSrU4gt4M=",
@ -355,9 +412,11 @@
"inputs": {
"conduit": "conduit",
"home-manager": "home-manager",
"hyprcontrib": "hyprcontrib",
"hyprland": "hyprland",
"hyprland-plugins": "hyprland-plugins",
"nixpkgs": "nixpkgs_4",
"shadower": "shadower",
"split-monitor-workspaces": "split-monitor-workspaces"
}
},
@ -405,6 +464,25 @@
"type": "github"
}
},
"shadower": {
"inputs": {
"naersk": "naersk",
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1683924844,
"narHash": "sha256-2zsiF1dkxmDsetEZRn5Fn2wR0PtiwyQxlwwQs+sFLsc=",
"owner": "n3oney",
"repo": "shadower",
"rev": "5d0d3638db1b2116eaef0a95f4f77e6aa945b26b",
"type": "github"
},
"original": {
"owner": "n3oney",
"repo": "shadower",
"type": "github"
}
},
"split-monitor-workspaces": {
"inputs": {
"hyprland": "hyprland_3"

View file

@ -15,8 +15,13 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
hyprland.url = "github:hyprwm/Hyprland";
hyprcontrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland-plugins.url = "github:hyprwm/hyprland-plugins";
split-monitor-workspaces.url = "github:jacekpoz/split-monitor-workspaces";
shadower.url = "github:n3oney/shadower";
home-manager = {
url = "github:nix-community/home-manager";

View file

@ -20,12 +20,12 @@
home = {
username = "jacek";
# TODO fix this
homeDirectory = lib.mkForce "/home/jacek";
packages = with pkgs; [
homeDirectory = "/home/jacek";
packages = with pkgs;
with inputs.hyprcontrib.packages.${pkgs.system};
with inputs.shadower.packages.${pkgs.system}; [
git
librewolf-wayland
firefox-wayland
foot
keepassxc
exa
@ -95,6 +95,9 @@
wl-clipboard
wlsunset
xdg-utils
hyprpicker
grimblast
shadower
];
stateVersion = lib.mkDefault "23.11";

View file

@ -6,10 +6,11 @@
config = {
programs.firefox = {
enable = true;
package = pkgs.firefox-devedition;
profiles = {
schizo = {
"schizo.default" = {
id = 1;
name = "default";
isDefault = true;
search = {
engines = {
@ -50,6 +51,9 @@
};
force = true;
};
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
];
};
};
};

View file

@ -0,0 +1,22 @@
{
config,
...
}: {
config = {
programs.btop = {
enable = true;
settings = {
theme_background = false;
vim_keys = true;
update_ms = 100;
cpu_single_graph = true;
clock_format = "%X";
use_fstab = true;
io_mode = true;
net_sync = true;
net_iface = "enp4s0";
log_level = "WARNING";
};
};
};
}

View file

@ -1,5 +1,6 @@
_: {
imports = [
./btop
./neovim
];
}