added i3 and fixed deps errors when rebuilding

This commit is contained in:
voidarclabs
2026-01-17 13:37:16 +00:00
parent f7461269ac
commit 065ad7bf77
4 changed files with 35 additions and 6 deletions

View File

@@ -143,6 +143,8 @@
carapace carapace
kitty kitty
github-cli github-cli
p7zip
p7zip-rar
bluetuith bluetuith
wget wget
playerctl playerctl

10
flake.lock generated
View File

@@ -6,11 +6,11 @@
"pinned-nixpkgs": "pinned-nixpkgs" "pinned-nixpkgs": "pinned-nixpkgs"
}, },
"locked": { "locked": {
"path": "./chataigne", "path": "./modules/chataigne",
"type": "path" "type": "path"
}, },
"original": { "original": {
"path": "./chataigne", "path": "./modules/chataigne",
"type": "path" "type": "path"
}, },
"parent": [] "parent": []
@@ -133,11 +133,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1763421233, "lastModified": 1768305791,
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=", "narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648", "rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@@ -4,7 +4,7 @@
inputs = { inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
elephant.url = "github:abenz1267/elephant"; elephant.url = "github:abenz1267/elephant";
chataigne.url = "./configs/chataigne"; chataigne.url = "./modules/chataigne";
doot.url = "github:voidarclabs/nixos.doot"; doot.url = "github:voidarclabs/nixos.doot";
way-edges.url = "github:way-edges/way-edges"; way-edges.url = "github:way-edges/way-edges";
hyprfloat = { hyprfloat = {
@@ -51,6 +51,7 @@
./configs/configuration-pc.nix ./configs/configuration-pc.nix
./configs/common.nix ./configs/common.nix
./modules/davinci/davinci.nix ./modules/davinci/davinci.nix
./modules/i3/i3.nix
hardwareConfig hardwareConfig
{ {
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;

26
modules/i3/i3.nix Normal file
View File

@@ -0,0 +1,26 @@
{
config,
lib,
pkgs,
inputs,
...
}:
{
services.displayManager.defaultSession = "hyprland";
services.xserver = {
enable = true;
desktopManager = {
xterm.enable = false;
};
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [
dmenu # application launcher most people use
i3status # gives you the default i3 status bar
xorg.xinit
];
};
};
}