Skip to content

Desktop customization misc #11

@6C656F

Description

@6C656F

flake.nix

i think i messed up, but i had to change the boilerplate of the flake.nix to this to get it to run:

{
  inputs = {
    nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
    home-manager = {
      url = "github:nix-community/home-manager";
      inputs.nixpkgs.follows = "nixpkgs";
    };
    plasma-manager = {
      url = "github:nix-community/plasma-manager";
      inputs.nixpkgs.follows = "nixpkgs";
      inputs.home-manager.follows = "home-manager";
    };
  };

  outputs = inputs@{ nixpkgs, home-manager, plasma-manager, ... }:
    let
      system = "x86_64-linux";
      pkgs = nixpkgs.legacyPackages.${system};
      username = "$USER";  # (was my actual username) 
    in
    {
      homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
        inherit pkgs;

        modules = [
          plasma-manager.homeModules.plasma-manager
          ./home.nix
        ];
      };

      packages.${system}.activationPackage = 
        (home-manager.lib.homeManagerConfiguration {
          inherit pkgs;

          modules = [
            plasma-manager.homeModules.plasma-manager
            ./home.nix
          ];
        }).activationPackage;
    };
}

home.nix

the section for the home.nix should include an extra }; and also we should specifcy that you put that block in before the programs.home-manager.enable = true;. this is what worked for me:

  programs.plasma = {
    enable = true;

    workspace = {
      lookAndFeel = "org.kde.breezedark.desktop";
      iconTheme = "Papirus-Dark";
  };
};

misc thoughts

  • how much do we want to explain in our documentation?

  • should we make a GUI script for non-technical patrons?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions