mirror of
https://github.com/srid/nixos-config.git
synced 2026-05-11 17:36:07 +08:00
back to xmonad
This commit is contained in:
parent
41bc635a6f
commit
246938e646
8 changed files with 16 additions and 16 deletions
|
|
@ -23,11 +23,11 @@
|
|||
acpi
|
||||
mpv
|
||||
xorg.xmessage
|
||||
xclip
|
||||
];
|
||||
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.lightdm.enable = true;
|
||||
#displayManager.gdm.enable = true;
|
||||
#desktopManager.gnome.enable = true;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
{ config, pkgs, ... }:
|
||||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
hardware.video.hidpi.enable = true;
|
||||
services.xserver.dpi = 170;
|
||||
services.xserver.displayManager.sessionCommands = ''
|
||||
${pkgs.xorg.xrdb}/bin/xrdb -merge <<EOF
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ main = do
|
|||
where
|
||||
cfg =
|
||||
def
|
||||
{ modMask = mod4Mask, -- Use Super instead of Alt
|
||||
{ -- modMask = mod4Mask, -- Use Super instead of Alt
|
||||
terminal = "alacritty", -- "myst",
|
||||
layoutHook =
|
||||
borderSpacingBetweenWindows $
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ in
|
|||
[ cabal-install
|
||||
cabal-fmt
|
||||
ghcid
|
||||
# haskell-language-server
|
||||
haskell-language-server
|
||||
]);
|
||||
overrides = self: super: with pkgs.haskell.lib; {
|
||||
# dulwich = dontCheck super.dulwich;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,13 @@
|
|||
{ pkgs, ... }: {
|
||||
{ pkgs, lib, ... }: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
# services.xserver.dpi = 192;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
];
|
||||
}
|
||||
|
|
|
|||
8
flake.lock
generated
8
flake.lock
generated
|
|
@ -636,17 +636,17 @@
|
|||
},
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1636976544,
|
||||
"narHash": "sha256-9ZmdyoRz4Qu8bP5BKR1T10YbzcB9nvCeQjOEw2cRKR0=",
|
||||
"lastModified": 1637155076,
|
||||
"narHash": "sha256-26ZPNiuzlsnXpt55Q44+yzXvp385aNAfevzVEKbrU5Q=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "931ab058daa7e4cd539533963f95e2bb0dbd41e6",
|
||||
"rev": "715f63411952c86c8f57ab9e3e3cb866a015b5f2",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "931ab058daa7e4cd539533963f95e2bb0dbd41e6",
|
||||
"rev": "715f63411952c86c8f57ab9e3e3cb866a015b5f2",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
# https://status.nixos.org/
|
||||
#
|
||||
# This ensures that we always use the official nix cache.
|
||||
nixpkgs.url = "github:nixos/nixpkgs/931ab058daa7e4cd539533963f95e2bb0dbd41e6";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/715f63411952c86c8f57ab9e3e3cb866a015b5f2";
|
||||
|
||||
nixos-hardware.url = github:NixOS/nixos-hardware/master;
|
||||
home-manager.url = "github:nix-community/home-manager";
|
||||
|
|
@ -87,9 +87,8 @@
|
|||
inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x1-7th-gen
|
||||
./features/server/harden.nix
|
||||
#./features/distributed-build.nix
|
||||
./features/kde.nix
|
||||
./features/desktopish/guiapps.nix
|
||||
./features/desktopish/fonts.nix
|
||||
# ./features/kde.nix
|
||||
./features/desktopish
|
||||
./features/protonvpn.nix
|
||||
#./features/ema/emanote.nix
|
||||
];
|
||||
|
|
|
|||
|
|
@ -25,9 +25,6 @@
|
|||
# See also: https://discourse.nixos.org/t/how-to-switch-cpu-governor-on-battery-power/8446/5
|
||||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||||
|
||||
# high-resolution display
|
||||
hardware.video.hidpi.enable = lib.mkDefault true;
|
||||
services.xserver.dpi = 192;
|
||||
|
||||
hardware.pulseaudio.enable = true;
|
||||
hardware.pulseaudio.support32Bit = true; ## If compatibility with 32-bit applications is desired.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue