added i3 and fixed deps errors when rebuilding
This commit is contained in:
@@ -143,6 +143,8 @@
|
||||
carapace
|
||||
kitty
|
||||
github-cli
|
||||
p7zip
|
||||
p7zip-rar
|
||||
bluetuith
|
||||
wget
|
||||
playerctl
|
||||
|
||||
10
flake.lock
generated
10
flake.lock
generated
@@ -6,11 +6,11 @@
|
||||
"pinned-nixpkgs": "pinned-nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"path": "./chataigne",
|
||||
"path": "./modules/chataigne",
|
||||
"type": "path"
|
||||
},
|
||||
"original": {
|
||||
"path": "./chataigne",
|
||||
"path": "./modules/chataigne",
|
||||
"type": "path"
|
||||
},
|
||||
"parent": []
|
||||
@@ -133,11 +133,11 @@
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1763421233,
|
||||
"narHash": "sha256-Stk9ZYRkGrnnpyJ4eqt9eQtdFWRRIvMxpNRf4sIegnw=",
|
||||
"lastModified": 1768305791,
|
||||
"narHash": "sha256-AIdl6WAn9aymeaH/NvBj0H9qM+XuAuYbGMZaP0zcXAQ=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "89c2b2330e733d6cdb5eae7b899326930c2c0648",
|
||||
"rev": "1412caf7bf9e660f2f962917c14b1ea1c3bc695e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
elephant.url = "github:abenz1267/elephant";
|
||||
chataigne.url = "./configs/chataigne";
|
||||
chataigne.url = "./modules/chataigne";
|
||||
doot.url = "github:voidarclabs/nixos.doot";
|
||||
way-edges.url = "github:way-edges/way-edges";
|
||||
hyprfloat = {
|
||||
@@ -51,6 +51,7 @@
|
||||
./configs/configuration-pc.nix
|
||||
./configs/common.nix
|
||||
./modules/davinci/davinci.nix
|
||||
./modules/i3/i3.nix
|
||||
hardwareConfig
|
||||
{
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
26
modules/i3/i3.nix
Normal file
26
modules/i3/i3.nix
Normal 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
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user