mirror of
https://github.com/caperren/nixos-configs.git
synced 2025-11-09 20:21:14 +00:00
Some random starting baseline for playing around with
This commit is contained in:
37
custom-configuration.nix.save
Normal file
37
custom-configuration.nix.save
Normal file
@@ -0,0 +1,37 @@
|
||||
{ config, pkgs, callPackage, ... }:
|
||||
|
||||
{
|
||||
# Enable nix flakes
|
||||
nix.settings.experimental-features = ["nix-command", "flakes"];
|
||||
|
||||
# For x server/i3
|
||||
environment.pathsToLink = ["/libexec"];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
|
||||
desktopManager = {
|
||||
xterm.enable = false;
|
||||
};
|
||||
|
||||
displayManager = {
|
||||
defaultSession = "none+i3";
|
||||
};
|
||||
|
||||
windowManager.i3 = {
|
||||
enable = true;
|
||||
package = pkgs.i3-gaps;
|
||||
extraPackages = with pkgs; [
|
||||
dmenu
|
||||
i3status
|
||||
i3lock
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
htop
|
||||
firefox-bin
|
||||
];
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user