diff --git a/configs/common.nix b/configs/common.nix index 564c0e7..17c0586 100644 --- a/configs/common.nix +++ b/configs/common.nix @@ -143,6 +143,8 @@ carapace kitty github-cli + p7zip + p7zip-rar bluetuith wget playerctl diff --git a/flake.lock b/flake.lock index ed76f13..f2144b2 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/flake.nix b/flake.nix index f4aac85..33f5873 100644 --- a/flake.nix +++ b/flake.nix @@ -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; diff --git a/modules/i3/i3.nix b/modules/i3/i3.nix new file mode 100644 index 0000000..8001833 --- /dev/null +++ b/modules/i3/i3.nix @@ -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 + ]; + }; + }; +}