home: move around things a bit
Signed-off-by: Amneesh Singh <natto@weirdnatto.in>
This commit is contained in:
		@@ -9,16 +9,16 @@
 | 
			
		||||
  imports = [
 | 
			
		||||
    ./email.nix
 | 
			
		||||
    ./programs.nix
 | 
			
		||||
    ./eww
 | 
			
		||||
    # ./xsession.nix
 | 
			
		||||
    ./wayland.nix
 | 
			
		||||
    ./pkgs.nix
 | 
			
		||||
    ./stuff.nix
 | 
			
		||||
    ./emacs.nix
 | 
			
		||||
    #./emacs.nix
 | 
			
		||||
    ./gtk.nix
 | 
			
		||||
    ./dunst.nix
 | 
			
		||||
    ./git.nix
 | 
			
		||||
    ./music.nix
 | 
			
		||||
    ./zsh.nix
 | 
			
		||||
    ./games.nix
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
{
 | 
			
		||||
  programs.eww = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    package = pkgs.eww-wayland;
 | 
			
		||||
    package = pkgs.eww;
 | 
			
		||||
    configDir = lib.cleanSourceWith {
 | 
			
		||||
      src = ./.;
 | 
			
		||||
      filter = name: _:
 | 
			
		||||
@@ -22,8 +22,22 @@
 | 
			
		||||
      let
 | 
			
		||||
        deps = [
 | 
			
		||||
          config.programs.eww.package
 | 
			
		||||
        ] ++ lib.optional
 | 
			
		||||
          config.wayland.windowManager.hyprland.enable
 | 
			
		||||
          config.wayland.windowManager.hyprland.package
 | 
			
		||||
        ] ++ (import ./bar pkgs);
 | 
			
		||||
        ++ (with pkgs; [
 | 
			
		||||
          coreutils
 | 
			
		||||
          bash
 | 
			
		||||
          jq
 | 
			
		||||
          less
 | 
			
		||||
          gawk
 | 
			
		||||
          socat
 | 
			
		||||
          playerctl
 | 
			
		||||
          networkmanager
 | 
			
		||||
          iwgtk
 | 
			
		||||
          wireplumber
 | 
			
		||||
        ])
 | 
			
		||||
        ++ lib.optional config.laptop pkgs.light;
 | 
			
		||||
      in
 | 
			
		||||
      {
 | 
			
		||||
        Type = "simple";
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										14
									
								
								home/natto/games.nix
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								home/natto/games.nix
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
{ pkgs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
    # Wine and games and stuff
 | 
			
		||||
    wineWowPackages.stable
 | 
			
		||||
    steam
 | 
			
		||||
    winetricks
 | 
			
		||||
    # lutris
 | 
			
		||||
    # inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  programs.mangohud.enable = true;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -18,7 +18,8 @@ in
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    mpd-discord-rpc = {
 | 
			
		||||
      inherit (mpd) enable;
 | 
			
		||||
      #     inherit (mpd) enable;
 | 
			
		||||
      enable = false;
 | 
			
		||||
      settings = {
 | 
			
		||||
        id = 1039532008424099850; # dont really care
 | 
			
		||||
        format = {
 | 
			
		||||
@@ -37,8 +38,6 @@ in
 | 
			
		||||
        host = "localhost";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    playerctld.enable = true;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  systemd.user.services = {
 | 
			
		||||
@@ -68,12 +67,12 @@ in
 | 
			
		||||
 | 
			
		||||
  home = {
 | 
			
		||||
    packages = with pkgs; [
 | 
			
		||||
      playerctl
 | 
			
		||||
      mpc_cli
 | 
			
		||||
      (ncmpcpp.override {
 | 
			
		||||
        visualizerSupport = true;
 | 
			
		||||
        clockSupport = true;
 | 
			
		||||
      })
 | 
			
		||||
      mpc_cli
 | 
			
		||||
      playerctl
 | 
			
		||||
      (tauon.override {
 | 
			
		||||
        withDiscordRPC = true;
 | 
			
		||||
      })
 | 
			
		||||
@@ -83,6 +82,10 @@ in
 | 
			
		||||
      source = ./config/ncmpcpp/config;
 | 
			
		||||
      target = "${config.xdg.configHome}/ncmpcpp/config";
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    sessionVariables = {
 | 
			
		||||
      # LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  age.secrets.mpdasrc = {
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,6 @@
 | 
			
		||||
{ config, flake, inputs, pkgs, ... }:
 | 
			
		||||
{ flake, pkgs, config, ... }:
 | 
			
		||||
{
 | 
			
		||||
  home.packages = with pkgs; [
 | 
			
		||||
 | 
			
		||||
    # A/V, codec and media stuff
 | 
			
		||||
    ffmpeg-full
 | 
			
		||||
    wireplumber
 | 
			
		||||
@@ -18,20 +17,12 @@
 | 
			
		||||
    p7zip
 | 
			
		||||
    unrar
 | 
			
		||||
    vim
 | 
			
		||||
    jmtpfs
 | 
			
		||||
    (flake.packages.${pkgs.system}.customscripts)
 | 
			
		||||
    translate-shell
 | 
			
		||||
    powertop
 | 
			
		||||
    (flake.packages.${system}.customscripts)
 | 
			
		||||
    cachix
 | 
			
		||||
    undervolt
 | 
			
		||||
    w3m
 | 
			
		||||
    steam-run
 | 
			
		||||
 | 
			
		||||
    # GUI utils
 | 
			
		||||
    slack
 | 
			
		||||
    (discord.override {
 | 
			
		||||
      nss = nss_latest;
 | 
			
		||||
    })
 | 
			
		||||
    webcord
 | 
			
		||||
    (xfce.thunar.override {
 | 
			
		||||
      thunarPlugins = with xfce; [
 | 
			
		||||
@@ -44,21 +35,9 @@
 | 
			
		||||
    xfce.tumbler
 | 
			
		||||
    qbittorrent
 | 
			
		||||
    hexchat
 | 
			
		||||
    luajit
 | 
			
		||||
    dunst
 | 
			
		||||
    authy
 | 
			
		||||
    gnome.zenity
 | 
			
		||||
 | 
			
		||||
    # Wine and games and stuff
 | 
			
		||||
    lutris
 | 
			
		||||
    wineWowPackages.stable
 | 
			
		||||
    steam
 | 
			
		||||
    lutris
 | 
			
		||||
    winetricks
 | 
			
		||||
    flake.packages.${pkgs.system}.tlauncher
 | 
			
		||||
    mangohud
 | 
			
		||||
    #   inputs.nix-gaming.packages.${pkgs.system}.osu-lazer-bin
 | 
			
		||||
 | 
			
		||||
    # Programming and dev stuff
 | 
			
		||||
    (texlive.combine {
 | 
			
		||||
      inherit (texlive)
 | 
			
		||||
@@ -83,16 +62,14 @@
 | 
			
		||||
        tcolorbox;
 | 
			
		||||
    })
 | 
			
		||||
    python3Packages.pygments
 | 
			
		||||
    inform7
 | 
			
		||||
    ghc
 | 
			
		||||
    nodejs
 | 
			
		||||
    rust-bin.nightly.latest.default
 | 
			
		||||
    openjdk
 | 
			
		||||
 | 
			
		||||
    # Misc
 | 
			
		||||
    anki
 | 
			
		||||
    tor-browser-bundle-bin
 | 
			
		||||
    mailcap
 | 
			
		||||
    libsForQt5.qtstyleplugins
 | 
			
		||||
  ] ++ lib.optionals config.isLaptop [
 | 
			
		||||
    powertop
 | 
			
		||||
    undervolt
 | 
			
		||||
  ];
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
										
											Binary file not shown.
										
									
								
							@@ -19,7 +19,6 @@
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    sessionVariables = {
 | 
			
		||||
      LV2_PATH = lib.makeSearchPath "lib/lv2" (with pkgs; [ calf ]);
 | 
			
		||||
      QT_X11_NO_MITSHM = "1";
 | 
			
		||||
      HM_CONF_DIR = "/etc/nixos";
 | 
			
		||||
      QT_QPA_PLATFORMTHEME = "gtk2";
 | 
			
		||||
 
 | 
			
		||||
@@ -1,5 +1,9 @@
 | 
			
		||||
{ pkgs, config, conf, inputs, ... }:
 | 
			
		||||
{
 | 
			
		||||
  imports = [
 | 
			
		||||
    # ./eww
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  wayland = {
 | 
			
		||||
    windowManager = {
 | 
			
		||||
      sway = {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user